summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMarko Karppinen <markonen@php.net>2002-01-25 23:42:23 +0000
committerMarko Karppinen <markonen@php.net>2002-01-25 23:42:23 +0000
commit14b6678d2b3aabc85b32d9e6b6b4af9602da066a (patch)
treebbbb4cb9246f03fdb5600029d4e9d7c97902ea02 /configure.in
parentaca369774cf8e73f53abea81dbc15d036c6a5ab8 (diff)
downloadphp-git-14b6678d2b3aabc85b32d9e6b6b4af9602da066a.tar.gz
Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris
(this requires post-2.13 autoconf, but 2.13 ignores it gracefully)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 9 insertions, 1 deletions
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 <netinet/in.h>
+#endif
+#if HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#endif
+])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_STRUCT_TM