summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5315e44)
raw | patch | inline | side by side (parent: 5315e44)
author | niki <niki> | |
Thu, 15 Dec 2005 12:10:12 +0000 (12:10 +0000) | ||
committer | niki <niki> | |
Thu, 15 Dec 2005 12:10:12 +0000 (12:10 +0000) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 6d87b83852257f8e5797dfb87db52b07308870ec..b048a0de0a79e3601e712ee8433ab0df8248637b 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_CHECK_FUNCS(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname))
AC_CHECK_FUNCS(strchr memcpy strstr strcmp strncmp strncpy strlen)
AC_CHECK_FUNCS(strncasecmp strcasecmp)
+AC_CHECK_FUNCS(openlog syslog closelog)
# For cpu module
AC_CHECK_FUNCS(sysctlbyname, [have_sysctlbyname="yes"], [have_sysctlbyname="no"])
@@ -107,8 +108,7 @@ AC_CHECK_FUNCS(sysctlbyname, [have_sysctlbyname="yes"], [have_sysctlbyname="no"]
AC_CHECK_FUNCS(getloadavg, [have_getloadavg="yes"], [have_getloadavg="no"])
# For users module
-have_getutent="no"
-AC_CHECK_FUNCS(getutent getutxent, [have_getutent="yes"])
+AC_CHECK_FUNCS(getutent getutxent)
# For quota module
AC_CHECK_FUNCS(quotactl)
swap . . . . LKG . $enable_swap
tape . . . . K . $enable_tape
traffic . . . LKG . $enable_traffic
- users . . . . U . $enable_users
+ users . . . . A . $enable_users
A ... all systems
L ... Linux
K ... libkstat (Solaris)
S ... libsensors
C ... sysctlbyname()
E ... getloadavg()
- U ... getutent()
EOF