6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(libstatgrab, 0.16, bugs@i-scream.org) |
10 |
< |
AM_INIT_AUTOMAKE(libstatgrab, 0.16) |
9 |
> |
AC_INIT(libstatgrab, 0.17, bugs@i-scream.org) |
10 |
> |
AM_INIT_AUTOMAKE(libstatgrab, 0.17) |
11 |
|
AM_MAINTAINER_MODE |
12 |
|
|
13 |
|
# Revision number (automatically updated) |
78 |
|
BIN_PERM="4755" |
79 |
|
LINKFLAGS="-lkstat -lsocket -lnsl" |
80 |
|
AC_CHECK_LIB(devinfo, di_init, [LINKFLAGS="$LINKFLAGS -ldevinfo"]) |
81 |
+ |
AC_CHECK_LIB(m, fabs, [SAIDARLIBS="$SAIDARLIBS -lm"]) |
82 |
|
;; |
83 |
|
solaris2.*) |
84 |
|
AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) |
85 |
|
AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |
86 |
|
LINKFLAGS="-lkstat -ldevinfo -lsocket -lnsl" |
87 |
+ |
AC_CHECK_LIB(m, fabs, [SAIDARLIBS="$SAIDARLIBS -lm"]) |
88 |
|
;; |
89 |
|
hpux11.11*) |
90 |
|
AC_DEFINE(HPUX, , [Building on HP-UX 11.11]) |