cvs: php4(PHP_4_2_0) / configure.in
| From: | Jani Taskinen | Date: | Thu, 25 Jul 2002 17:38:03 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12982@lists.php.net to get a copy of this message | ||
sniper Thu Jul 25 13:38:03 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4 configure.in
Log:
MFH: fix bug #18570
Index: php4/configure.in
diff -u php4/configure.in:1.302.2.30 php4/configure.in:1.302.2.31
--- php4/configure.in:1.302.2.30 Tue Jul 23 09:54:07 2002
+++ php4/configure.in Thu Jul 25 13:38:01 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.302.2.30 2002/07/23 13:54:07 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.302.2.31 2002/07/25 17:38:01 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -435,10 +435,10 @@
dnl Check for IPv6 support
AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,
-[AC_TRY_COMPILE([ #include <sys/types.h>
+[AC_TRY_LINK([ #include <sys/types.h>
#include <sys/socket.h>
-#include <netinet/in.h>], [struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int
i=AF_INET6; s],
- ac_cv_ipv6_support=yes, ac_cv_ipv6_support=no)])
+#include <netinet/in.h>], [struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int
i=AF_INET6; s; t.s6_addr[0] = 0;],
+ [ac_cv_ipv6_support=yes], [ac_cv_ipv6_support=no])])
if test "$ac_cv_ipv6_support" = yes; then
AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6 support])
fi