cvs: php4 / configure.in
| From: | Marko Karppinen | Date: | Fri, 25 Jan 2002 23:42:24 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9183@lists.php.net to get a copy of this message | ||
markonen Fri Jan 25 18:42:24 2002 EDT
Modified files:
/php4 configure.in
Log:
Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris
(this requires post-2.13 autoconf, but 2.13 ignores it gracefully)
Index: php4/configure.in
diff -u php4/configure.in:1.293 php4/configure.in:1.294
--- php4/configure.in:1.293 Fri Jan 25 18:38:58 2002
+++ php4/configure.in Fri Jan 25 18:42:23 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.293 2002/01/25 23:38:58 markonen Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.294 2002/01/25 23:42:23 markonen Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -326,7 +326,15 @@
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