From: Marko Karppinen Date: Fri, 25 Jan 2002 23:42:23 +0000 (+0000) Subject: Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris X-Git-Tag: PRE_ISSET_PATCH~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14b6678d2b3aabc85b32d9e6b6b4af9602da066a;p=php Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris (this requires post-2.13 autoconf, but 2.13 ignores it gracefully) --- diff --git a/configure.in b/configure.in index 8d5ab5e55e..51e6fe9cf4 100644 --- a/configure.in +++ b/configure.in @@ -326,7 +326,15 @@ sys/wait.h \ unistd.h \ unix.h \ utime.h \ -) +,,,[ +$ac_includes_default +#if HAVE_NETINET_IN_H +#include +#endif +#if HAVE_ARPA_NAMESER_H +#include +#endif +]) dnl Checks for typedefs, structures, and compiler characteristics. AC_STRUCT_TM