cvs: php4 / configure.in
| From: | Jon Parise | Date: | Sat, 02 Feb 2002 06:21:59 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9240@lists.php.net to get a copy of this message | ||
jon Sat Feb 2 01:21:59 2002 EDT
Modified files:
/php4 configure.in
Log:
Revert revision 1.294.
This commit broke things in interesting ways under FreeBSD. By adding these
default header files to every header check, a number of subsequent checks
failed (due to unsatisfied header file dependencies). This occured because
<netinet/in.h>, for example, requires <sys/types.h>. In other words, these
default includes are not autonomous and don't make workable defaults.
Index: php4/configure.in
diff -u php4/configure.in:1.296 php4/configure.in:1.297
--- php4/configure.in:1.296 Wed Jan 30 18:46:44 2002
+++ php4/configure.in Sat Feb 2 01:21:58 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.296 2002/01/30 23:46:44 edink Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.297 2002/02/02 06:21:58 jon Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -392,15 +392,7 @@
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
-])
+)