repo: ngircd
action: commit
revision: 
path_from: 
revision_from: fd260404caa7ce174ada663024d19cd789c152b5:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit fd260404caa7ce174ada663024d19cd789c152b5
Author: Alexander Barton 
Date:   Thu Jan 24 22:45:00 2013 +0100

    configure: "netinet/in_systm.h" is optional

    The header file "netinet/in_systm.h" already is optional in ngIRCd, so
    don't require it in the configure script. Now ngIRCd can be built on
    Minix 3 again :-)

diff --git a/configure.ng b/configure.ng
index c89096fd0f8febf02f3f1a08134ba7c686e387c3..
index ..034b565305232131f5e63126c49cab0a7768a150 100644
--- a/configure.ng
+++ b/configure.ng
@@ -120,14 +120,14 @@ AC_HEADER_TIME

 # Required header files
 AC_CHECK_HEADERS([ \
-	fcntl.h netdb.h netinet/in.h netinet/in_systm.h stdlib.h string.h \
+	fcntl.h netdb.h netinet/in.h stdlib.h string.h \
 	strings.h sys/socket.h sys/time.h unistd.h \
 	],,AC_MSG_ERROR([required C header missing!]))

 # Optional header files
 AC_CHECK_HEADERS_ONCE([ \
-	arpa/inet.h inttypes.h malloc.h netinet/ip.h stdbool.h stddef.h \
-	stdint.h varargs.h \
+	arpa/inet.h inttypes.h malloc.h netinet/in_systm.h netinet/ip.h \
+	stdbool.h stddef.h stdint.h varargs.h \
 	])

 # -- Datatypes --

-----END OF PAGE-----