From: octo Date: Fri, 10 Mar 2006 18:37:26 +0000 (+0000) Subject: Added more headers to the netinet/*.h checks (stdint.h to be specific) because Solari... X-Git-Tag: liboping-0.1.0~172 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6934b3d01a0ca92a5c3ef899a587ede3e1b3793d;p=collectd.git Added more headers to the netinet/*.h checks (stdint.h to be specific) because Solaris needs this.. --- diff --git a/configure.in b/configure.in index c635bd9e..3d640cb7 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(collectd, 3.8.1-alpha2) +AC_INIT(collectd, 3.8.1-alpha3) AC_CONFIG_SRCDIR(src/collectd.c) AC_CONFIG_HEADERS(src/config.h) AM_INIT_AUTOMAKE(dist-bzip2) @@ -33,6 +33,7 @@ AC_CONFIG_SUBDIRS(libltdl src/libconfig) AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_HEADER_DIRENT +AC_CHECK_HEADERS(stdint.h) AC_CHECK_HEADERS(errno.h) AC_CHECK_HEADERS(syslog.h) AC_CHECK_HEADERS(fcntl.h) @@ -47,14 +48,24 @@ AC_CHECK_HEADERS(sys/resource.h) AC_CHECK_HEADERS(sys/param.h) # For ping library -AC_CHECK_HEADERS(netinet/in_systm.h) +AC_CHECK_HEADERS(netinet/in_systm.h, [], [], +[#if HAVE_STDINT_H +# include +#endif +]) AC_CHECK_HEADERS(netinet/in.h, [], [], -[#if HAVE_NETINET_IN_SYSTM_H +[#if HAVE_STDINT_H +# include +#endif +#if HAVE_NETINET_IN_SYSTM_H # include #endif ]) AC_CHECK_HEADERS(netinet/ip.h, [], [], -[#if HAVE_NETINET_IN_SYSTM_H +[#if HAVE_STDINT_H +# include +#endif +#if HAVE_NETINET_IN_SYSTM_H # include #endif #if HAVE_NETINET_IN_H @@ -62,7 +73,10 @@ AC_CHECK_HEADERS(netinet/ip.h, [], [], #endif ]) AC_CHECK_HEADERS(netinet/ip_icmp.h, [], [], -[#if HAVE_NETINET_IN_SYSTM_H +[#if HAVE_STDINT_H +# include +#endif +#if HAVE_NETINET_IN_SYSTM_H # include #endif #if HAVE_NETINET_IN_H @@ -73,7 +87,10 @@ AC_CHECK_HEADERS(netinet/ip_icmp.h, [], [], #endif ]) AC_CHECK_HEADERS(netinet/ip_var.h, [], [], -[#if HAVE_NETINET_IN_SYSTM_H +[#if HAVE_STDINT_H +# include +#endif +#if HAVE_NETINET_IN_SYSTM_H # include #endif #if HAVE_NETINET_IN_H @@ -84,7 +101,10 @@ AC_CHECK_HEADERS(netinet/ip_var.h, [], [], #endif ]) AC_CHECK_HEADERS(netinet/ip6.h, [], [], -[#if HAVE_NETINET_IN_SYSTM_H +[#if HAVE_STDINT_H +# include +#endif +#if HAVE_NETINET_IN_SYSTM_H # include #endif #if HAVE_NETINET_IN_H @@ -92,7 +112,10 @@ AC_CHECK_HEADERS(netinet/ip6.h, [], [], #endif ]) AC_CHECK_HEADERS(netinet/icmp6.h, [], [], -[#if HAVE_NETINET_IN_SYSTM_H +[#if HAVE_STDINT_H +# include +#endif +#if HAVE_NETINET_IN_SYSTM_H # include #endif #if HAVE_NETINET_IN_H