cvs: php4 / configure.in /ext/standard dns.c
| From: | Jani Taskinen | Date: | Fri, 16 Mar 2001 07:13:06 +0000 |
| Subject: | cvs: php4 / configure.in /ext/standard dns.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4602@lists.php.net to get a copy of this message | ||
sniper Thu Mar 15 23:13:06 2001 EDT
Modified files:
/php4/ext/standard dns.c
/php4 configure.in
Log:
This should fix problems in systems without libbind.
Index: php4/ext/standard/dns.c
diff -u php4/ext/standard/dns.c:1.27 php4/ext/standard/dns.c:1.28
--- php4/ext/standard/dns.c:1.27 Sat Mar 10 19:49:21 2001
+++ php4/ext/standard/dns.c Thu Mar 15 23:13:06 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.27 2001/03/11 03:49:21 sniper Exp $ */
+/* $Id: dns.c,v 1.28 2001/03/16 07:13:06 sniper Exp $ */
#include "php.h"
#if HAVE_SYS_SOCKET_H
@@ -167,7 +167,7 @@
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 */
Index: php4/configure.in
diff -u php4/configure.in:1.221 php4/configure.in:1.222
--- php4/configure.in:1.221 Sat Mar 10 19:46:24 2001
+++ php4/configure.in Thu Mar 15 23:13:06 2001
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.221 2001/03/11 03:46:24 sniper Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.222 2001/03/16 07:13:06 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -389,6 +389,7 @@
random \
rand_r \
regcomp \
+res_search \
setitimer \
setlocale \
localeconv \