sas Fri Jun 27 03:07:04 2003 EDT Modified files: (Branch: PHP_4_3) /php-src configure.in Log: Try to link the getaddrinfo test, so that one can disable it using -Dgetaddrinfo=NO_getaddrinfo. Index: php-src/configure.in diff -u php-src/configure.in:1.396.2.56 php-src/configure.in:1.396.2.57 --- php-src/configure.in:1.396.2.56 Wed Jun 18 18:04:41 2003 +++ php-src/configure.in Fri Jun 27 03:07:03 2003 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.396.2.56 2003/06/18 22:04:41 sniper Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.396.2.57 2003/06/27 07:07:03 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -519,7 +519,7 @@ dnl Check for getaddrinfo, should be a better way, but... AC_CACHE_CHECK([for getaddrinfo], ac_cv_func_getaddrinfo, -[AC_TRY_COMPILE([#include <netdb.h>], +[AC_TRY_LINK([#include <netdb.h>], [struct addrinfo *g,h;g=&h;getaddrinfo("","",g,&g);], ac_cv_func_getaddrinfo=yes, ac_cv_func_getaddrinfo=no)]) if test "$ac_cv_func_getaddrinfo" = yes; then
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php