6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(libstatgrab, 0.10.4, bugs@i-scream.org) |
10 |
< |
AM_INIT_AUTOMAKE(libstatgrab, 0.10.4) |
9 |
> |
AC_INIT(libstatgrab, 0.11, bugs@i-scream.org) |
10 |
> |
AM_INIT_AUTOMAKE(libstatgrab, 0.11) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
31 |
|
|
32 |
|
# Checks for library functions |
33 |
|
AC_FUNC_MALLOC |
34 |
< |
AC_FUNC_REALLOC |
35 |
< |
AC_CHECK_FUNCS(atoll) |
34 |
> |
AC_CHECK_FUNCS(atoll seteuid setegid setresuid setresgid) |
35 |
|
|
36 |
|
# Disk IO read and write statistics are only present on recent NetBSD. |
37 |
|
AC_CHECK_MEMBER(struct disk_sysctl.dk_rbytes, |
79 |
|
AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) |
80 |
|
AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |
81 |
|
LINKFLAGS="-lkstat -ldevinfo -lsocket -lnsl" |
82 |
+ |
;; |
83 |
+ |
hpux11.11*) |
84 |
+ |
AC_DEFINE(HPUX, , [Building on HP-UX 11.11]) |
85 |
|
;; |
86 |
|
freebsd4.*) |
87 |
|
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |