~ubuntu-branches/ubuntu/karmic/wmcpuload/karmic

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Christian Aichinger
  • Date: 2005-02-13 18:42:41 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050213184241-yk2o743d8rkp23t9
Tags: 1.0.1-2
* New Maintainer
* Added proper Linux 2.6 support, thanks to Peter Colberg for the patch.
  (Closes: #238684)
* debian/control: Standards-Version to 3.6.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl $Id: configure.ac,v 1.2 2003/03/09 03:20:27 sch Exp $
 
2
 
1
3
dnl Process this file with autoconf to produce a configure script.
2
4
AC_PREREQ(2.52)
3
5
 
4
6
dnl AC_INIT(src/main.c)
5
 
dnl AM_INIT_AUTOMAKE(wmcpuload, 0.9.0pre1)
6
 
AC_INIT(wmcpuload, 0.9.0, ssato@sh.rim.or.jp)
 
7
dnl AM_INIT_AUTOMAKE(wmcpuload, 0.9.0)
 
8
#AC_INIT(wmcpuload, 1.0.0, ssato@sh.rim.or.jp)
 
9
AC_INIT(wmcpuload, 1.0.1, ssato@sh.rim.or.jp)
7
10
AC_CANONICAL_HOST
8
11
AC_CANONICAL_TARGET
9
12
AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
43
46
 
44
47
XLIBS="-lX11 $X_EXTRA_LIBS"
45
48
 
46
 
lib_search_path="$lib_search_path $XLFLAGS -L/usr/local/lib"
47
 
inc_search_path="$inc_search_path $XCFLAGS -I/usr/local/include"
 
49
lib_search_path="$lib_search_path $XLFLAGS"
 
50
inc_search_path="$inc_search_path $XCFLAGS"
48
51
 
49
52
AC_SUBST(X_LIBRARY_PATH)
50
53
 
109
112
  OS=openbsd
110
113
  ignore_nice=yes
111
114
  ;;
 
115
netbsd*)
 
116
  OS=netbsd
 
117
  ignore_nice=yes
 
118
  ;;
 
119
bsdi*)
 
120
  OS=bsdi
 
121
  ignore_nice=yes
 
122
  ;;
112
123
solaris*)
113
124
  OS=solaris
114
125
  LIBS="$LIBS -lkstat"
116
127
cygwin*)
117
128
  OS=cygwin
118
129
  ;;
 
130
irix*)
 
131
  OS=irix
 
132
  AC_DEFINE(USE_SMP, 1, [use SMP support])
 
133
  ;;
 
134
darwin*)
 
135
  OS=darwin
 
136
  ;;
119
137
*)
120
138
  echo ""
121
139
  echo "Sorry, ${target_os} is not supported yet"
150
168
AC_HEADER_STDC
151
169
AC_HEADER_SYS_WAIT
152
170
AC_HEADER_TIME
153
 
AC_CHECK_HEADERS([fcntl.h memory.h stddef.h stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h])
 
171
AC_CHECK_HEADERS(fcntl.h memory.h stddef.h stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h)
154
172
 
155
173
dnl Checks for library functions.
156
174
AC_FUNC_MALLOC
157
175
AC_CHECK_FUNCS(select)
158
176
 
159
 
AC_CONFIG_FILES(Makefile
160
 
                src/Makefile
161
 
                doc/Makefile
162
 
                icons/Makefile
163
 
                contrib/Makefile
164
 
                contrib/wmcpuload.spec)
 
177
AC_CONFIG_FILES([Makefile
 
178
                 src/Makefile
 
179
                 libdockapp/Makefile
 
180
                 doc/Makefile
 
181
                 icons/Makefile
 
182
                 contrib/Makefile
 
183
                 contrib/wmcpuload.spec])
165
184
AC_OUTPUT
166
185