]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Really test for netinet/ip.h and set HAVE_NETINET_IP_H
authorAlexander Barton <alex@barton.de>
Wed, 30 Dec 2009 23:38:47 +0000 (00:38 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 30 Dec 2009 23:38:47 +0000 (00:38 +0100)
configure.in
contrib/MacOSX/config.h

index 3d4c6404aa64642407248f51b63793af175122fc..10a72d35a0ffa8a2666f0f4860bb8356c93ccb84 100644 (file)
@@ -105,7 +105,8 @@ AC_CHECK_HEADERS([ \
        strings.h sys/socket.h sys/time.h unistd.h \
        ],,AC_MSG_ERROR([required C header missing!]))
 
-AC_CHECK_HEADERS([arpa/inet.h ctype.h malloc.h stdbool.h stddef.h varargs.h])
+AC_CHECK_HEADERS([ \
+       arpa/inet.h ctype.h malloc.h netinet/ip.h stdbool.h stddef.h varargs.h])
 
 # -- Datatypes --
 
index 60b0618845bd78a70e4e40d389d2487e10fcab2d..66465e26a8f6eee0777ed2687cb12a04271c6a0d 100644 (file)
@@ -71,6 +71,8 @@
 #define HAVE_STDBOOL_H 1
 /* Define to 1 if you have the <arpa/inet.h> header file. */
 #define HAVE_ARPA_INET_H 1
+/* Define to 1 if you have the <netinet/ip.h> header file. */
+#define HAVE_NETINET_IP_H 1
 
 /* Define to 1 if you have the `kqueue' function. */
 #define HAVE_KQUEUE 1