6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(libstatgrab, 0.10.1, bugs@i-scream.org) |
10 |
< |
AM_INIT_AUTOMAKE(libstatgrab, 0.10.1) |
9 |
> |
AC_INIT(libstatgrab, 0.10.4, bugs@i-scream.org) |
10 |
> |
AM_INIT_AUTOMAKE(libstatgrab, 0.10.4) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
32 |
|
# Checks for library functions |
33 |
|
AC_FUNC_MALLOC |
34 |
|
AC_FUNC_REALLOC |
35 |
< |
AC_CHECK_FUNCS(atoll) |
35 |
> |
AC_CHECK_FUNCS(atoll seteuid setegid setresuid setresgid) |
36 |
|
|
37 |
|
# Disk IO read and write statistics are only present on recent NetBSD. |
38 |
|
AC_CHECK_MEMBER(struct disk_sysctl.dk_rbytes, |
81 |
|
AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |
82 |
|
LINKFLAGS="-lkstat -ldevinfo -lsocket -lnsl" |
83 |
|
;; |
84 |
+ |
hpux11.11*) |
85 |
+ |
AC_DEFINE(HPUX, , [Building on HP-UX 11.11]) |
86 |
+ |
;; |
87 |
|
freebsd4.*) |
88 |
|
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
89 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
92 |
|
BIN_PERM="2755" |
93 |
|
LINKFLAGS="-lkvm -ldevstat" |
94 |
|
;; |
95 |
< |
freebsd5.*) |
95 |
> |
freebsd[[5-6]].*) |
96 |
|
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
97 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
98 |
< |
AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x]) |
98 |
> |
AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x or 6.x]) |
99 |
|
LINKFLAGS="-ldevstat" |
100 |
|
;; |
101 |
|
netbsdelf1*) |