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]) |
124 |
|
BIN_PERM="2755" |
125 |
|
LINKFLAGS="-lkvm -ldevstat" |
126 |
|
;; |
127 |
< |
linux-gnu) |
127 |
> |
linux-gnu*) |
128 |
|
AC_DEFINE(LINUX, , [Building on GNU/Linux]) |
129 |
|
AM_CONDITIONAL(SETUIDBINS, true) |
130 |
|
BIN_OWNER="root" |