]> granicus.if.org Git - php/commitdiff
This should fix problems in systems without libbind.
authorfoobar <sniper@php.net>
Fri, 16 Mar 2001 07:13:06 +0000 (07:13 +0000)
committerfoobar <sniper@php.net>
Fri, 16 Mar 2001 07:13:06 +0000 (07:13 +0000)
configure.in
ext/standard/dns.c

index c1a96f8c695635a9f14195a83ec06c4384309e04..a22c290946f560f842bca4edb7b08c4dfc33f2d7 100644 (file)
@@ -389,6 +389,7 @@ putenv \
 random \
 rand_r \
 regcomp \
+res_search \
 setitimer \
 setlocale \
 localeconv \
index fc530e1fcfd094b9ad111f2edc76b58bea6f3eaf..d9878eaa53e8af93cf2498e1cee5215fa66c3e36 100644 (file)
@@ -167,7 +167,7 @@ char *php_gethostbyname(char *name)
        return estrdup(inet_ntoa(in));
 }
 
-#if HAVE_LIBBIND && !(defined(__BEOS__)||defined(PHP_WIN32))
+#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32))
 
 /* {{{ proto int checkdnsrr(string host [, string type])
    Check DNS records corresponding to a given Internet host name or IP address */