X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=57883edcc091134843acf40820829d12bc00ee11;hb=edfa2154816932ce184f9db65093711bc9957cb3;hp=8526af60e93e782b70afb1195f7d317672017ff4;hpb=b849e63fbfcddae7c770944816544c4799856042;p=ngircd-alex.git diff --git a/configure.in b/configure.in index 8526af60..57883edc 100644 --- a/configure.in +++ b/configure.in @@ -108,9 +108,14 @@ AC_CHECK_HEADERS([ \ AC_CHECK_HEADERS([ \ arpa/inet.h ctype.h malloc.h netinet/ip.h stdbool.h stddef.h varargs.h \ ],[],[],[[ - #include - #ifdef HAVE_NETINET_IN_SYSTM_H - #include + #ifdef HAVE_SYS_TYPES_H + #include + #endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif + #ifdef HAVE_NETINET_IN_H + #include #endif ]] ) @@ -542,7 +547,6 @@ AC_DEFINE_UNQUOTED(TARGET_OS, "$target_os" ) # Add additional CFLAGS, eventually specified on the command line, but after # running this configure script. Useful for "-Werror" for example. -test "$GCC" = "yes" && CFLAGS="$CFLAGS -Werror=implicit-function-declaration" test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END" # -- Generate files --