Module: ngircd.git Branch: master Commit: b8ed3110305bd5a89face219b276cc7ffbeb9e37 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b8ed3...
Author: Florian Westphal fw@strlen.de Date: Sat May 29 17:18:33 2010 +0200
partially revert Include netinet/{in.h, in_systm.h} when checking for netinet/ip.h
This partially reverts 6b0bb665c3cb31ba93fb5ac8197f033532614fd4.
restrict the kludge to netinet/ip.h.
---
configure.in | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in index 8526af6..d8a35ef 100644 --- a/configure.in +++ b/configure.in @@ -106,7 +106,10 @@ AC_CHECK_HEADERS([ \ ],,AC_MSG_ERROR([required C header missing!]))
AC_CHECK_HEADERS([ \ - arpa/inet.h ctype.h malloc.h netinet/ip.h stdbool.h stddef.h varargs.h \ + arpa/inet.h ctype.h malloc.h stdbool.h stddef.h varargs.h]) + +AC_CHECK_HEADERS([ \ + netinet/ip.h \ ],[],[],[[ #include <netinet/in.h> #ifdef HAVE_NETINET_IN_SYSTM_H
ngircd-commits@lists.barton.de