From 1868bfd40f7bf4caf9a31116111fa3a5169f4735 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 27 Jan 2009 15:52:03 +0100 Subject: [PATCH] libreplace: fix detection of netinet/ip.h on solaris 8 (The test needs to additionally include .) Michael --- source/lib/replace/libreplace.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/lib/replace/libreplace.m4 b/source/lib/replace/libreplace.m4 index d41a86450d4..bad541ab0e4 100644 --- a/source/lib/replace/libreplace.m4 +++ b/source/lib/replace/libreplace.m4 @@ -97,10 +97,14 @@ AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_HEADERS(sys/time.h time.h) AC_CHECK_HEADERS(stdarg.h vararg.h) AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h) +AC_CHECK_HEADERS(netinet/in_systm.h) AC_CHECK_HEADERS([netinet/ip.h], [], [], [#ifdef HAVE_NETINET_IN_H #include +#endif +#ifdef HAVE_NETINET_IN_SYSTM_H +#include #endif]) -AC_CHECK_HEADERS(netinet/tcp.h netinet/in_systm.h netinet/in_ip.h) +AC_CHECK_HEADERS(netinet/tcp.h netinet/in_ip.h) AC_CHECK_HEADERS(sys/sockio.h sys/un.h) AC_CHECK_HEADERS(stropts.h) -- 2.34.1