From: niki Date: Fri, 16 Dec 2005 16:51:09 +0000 (+0000) Subject: syslog and sys/param.h check X-Git-Tag: collectd-3.6.0~57 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c988f52c9de381e76ce1f95359301689a3b5ff3c;p=collectd.git syslog and sys/param.h check --- diff --git a/configure.in b/configure.in index db2fdb5e..5cc16511 100644 --- a/configure.in +++ b/configure.in @@ -37,6 +37,7 @@ AC_CHECK_HEADERS(sys/socket.h) AC_CHECK_HEADERS(sys/select.h) AC_CHECK_HEADERS(netdb.h) AC_CHECK_HEADERS(sys/resource.h) +AC_CHECK_HEADERS(sys/param.h) AC_CHECK_HEADERS(errno.h) AC_CHECK_HEADERS(syslog.h) @@ -99,6 +100,7 @@ AC_CHECK_FUNCS(socket, , AC_CHECK_LIB(socket, socket)) 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"])