cvs: php4 / configure.in

From: Date: Sun, 10 Sep 2000 09:35:48 +0000
Subject: cvs: php4 / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1681@lists.php.net to get a copy of this message
venaas Sun Sep 10 02:35:48 2000 EDT Modified files: /php4 configure.in Log: A tiny fix to the getaddrinfo check Index: php4/configure.in diff -u php4/configure.in:1.180 php4/configure.in:1.181 --- php4/configure.in:1.180 Sun Sep 10 01:09:21 2000 +++ php4/configure.in Sun Sep 10 02:35:48 2000 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.180 2000/09/10 08:09:21 venaas Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.181 2000/09/10 09:35:48 venaas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -396,7 +396,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>], - [struct addrinfo h;getaddrinfo(NULL,NULL,&h,NULL);], + [struct addrinfo h;getaddrinfo("","",&h,&h);], ac_cv_func_getaddrinfo=yes, ac_cv_func_getaddrinfo=no)]) if test "$ac_cv_func_getaddrinfo" = yes; then AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the getaddrinfo function])

« previous php.cvs (#1681) next »