wez Tue Oct 29 11:21:54 2002 EDT Modified files: /php4 configure.in Log: Don't use autoconf 2.52 macros. Index: php4/configure.in diff -u php4/configure.in:1.393 php4/configure.in:1.394 --- php4/configure.in:1.393 Tue Oct 29 09:57:12 2002 +++ php4/configure.in Tue Oct 29 11:21:53 2002 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.393 2002/10/29 14:57:12 wez Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.394 2002/10/29 16:21:53 wez Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -410,13 +410,13 @@ fi dnl Check if sockaddr data structure includes an "sa_len" member -AC_CHECK_MEMBER([struct sockaddr.sa_len], - [AC_DEFINE(HAVE_SOCKADDR_LEN,1,[Whether sockaddr struct has sa_len])], - [], -[ + +AC_TRY_COMPILE([ #include <sys/types.h> #include <sys/socket.h> -]) +], [static struct sockaddr sa; int n = (int) sa.sa_len; return n], +[AC_DEFINE(HAVE_SOCKADDR_LEN,1,[Whether sockaddr struct has sa_len])], +[]) dnl Check for IPv6 support AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php