build: format the header check for netinet/ip.h more nicely
authorTimur <timur@FreeBSD.org>
Tue, 17 Mar 2009 21:45:28 +0000 (22:45 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 17 Mar 2009 22:09:00 +0000 (23:09 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
lib/replace/libreplace_network.m4

index 9223d94b7575937188963cd28c137de30d90b7ca..a87320f841e29952b937ce98bb1f845c20c3a803 100644 (file)
@@ -8,12 +8,14 @@ LIBREPLACE_NETWORK_LIBS=""
 
 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 <netinet/in.h>
-#endif
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif])
+AC_CHECK_HEADERS([netinet/ip.h], [], [],[
+       #ifdef HAVE_NETINET_IN_H
+       #include <netinet/in.h>
+       #endif
+       #ifdef HAVE_NETINET_IN_SYSTM_H
+       #include <netinet/in_systm.h>
+       #endif
+])
 AC_CHECK_HEADERS(netinet/tcp.h netinet/in_ip.h)
 AC_CHECK_HEADERS(sys/sockio.h sys/un.h)
 AC_CHECK_HEADERS(sys/uio.h)