cvs: php4 / configure.in
| From: | Stig Venaas | Date: | Thu, 26 Oct 2000 20:39:57 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2280@lists.php.net to get a copy of this message | ||
venaas Thu Oct 26 13:39:57 2000 EDT
Modified files:
/php4 configure.in
Log:
Removed a warning in getaddrinfo check, not really needed
Index: php4/configure.in
diff -u php4/configure.in:1.190 php4/configure.in:1.191
--- php4/configure.in:1.190 Thu Oct 26 11:00:30 2000
+++ php4/configure.in Thu Oct 26 13:39:57 2000
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.190 2000/10/26 18:00:30 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.191 2000/10/26 20:39:57 venaas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -401,7 +401,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("","",&h,&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
AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the getaddrinfo function])