cvs: php-src(PHP_4) / configure.in

From: Date: Fri, 27 Jun 2003 07:13:18 +0000
Subject: cvs: php-src(PHP_4) / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22073@lists.php.net to get a copy of this message
sas Fri Jun 27 03:13:18 2003 EDT Modified files: (Branch: PHP_4) /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.56.2.1 --- php-src/configure.in:1.396.2.56 Wed Jun 18 18:04:41 2003 +++ php-src/configure.in Fri Jun 27 03:13:18 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.56.2.1 2003/06/27 07:13:18 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

« previous php.cvs (#22073) next »