sniper Mon Mar 19 17:49:56 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/standard basic_functions.c dns.c dns.h
Log:
MFH
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.315
php4/ext/standard/basic_functions.c:1.315.2.1
--- php4/ext/standard/basic_functions.c:1.315 Sun Mar 11 19:06:53 2001
+++ php4/ext/standard/basic_functions.c Mon Mar 19 17:49:56 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.315 2001/03/12 03:06:53 andrei Exp $ */
+/* $Id: basic_functions.c,v 1.315.2.1 2001/03/20 01:49:56 sniper Exp $ */
#include "php.h"
#include "php_main.h"
@@ -247,7 +247,7 @@
PHP_FE(gethostbyaddr, NULL)
PHP_FE(gethostbyname, NULL)
PHP_FE(gethostbynamel, NULL)
-#if HAVE_LIBBIND && !(defined(__BEOS__)||defined(PHP_WIN32))
+#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32))
PHP_FE(checkdnsrr,
NULL)
PHP_FE(getmxrr,
second_and_third_args_force_ref)
#else
Index: php4/ext/standard/dns.c
diff -u php4/ext/standard/dns.c:1.27 php4/ext/standard/dns.c:1.27.2.1
--- php4/ext/standard/dns.c:1.27 Sat Mar 10 19:49:21 2001
+++ php4/ext/standard/dns.c Mon Mar 19 17:49:56 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.27 2001/03/11 03:49:21 sniper Exp $ */
+/* $Id: dns.c,v 1.27.2.1 2001/03/20 01:49:56 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/ext/standard/dns.h
diff -u php4/ext/standard/dns.h:1.8 php4/ext/standard/dns.h:1.8.2.1
--- php4/ext/standard/dns.h:1.8 Sat Mar 10 19:49:21 2001
+++ php4/ext/standard/dns.h Mon Mar 19 17:49:56 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.h,v 1.8 2001/03/11 03:49:21 sniper Exp $ */
+/* $Id: dns.h,v 1.8.2.1 2001/03/20 01:49:56 sniper Exp $ */
#ifndef DNS_H
#define DNS_H
@@ -25,7 +25,8 @@
PHP_FUNCTION(gethostbyaddr);
PHP_FUNCTION(gethostbyname);
PHP_FUNCTION(gethostbynamel);
-#if !defined(PHP_WIN32)||(HAVE_LIBBIND)
+
+#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32))
PHP_FUNCTION(checkdnsrr);
PHP_FUNCTION(getmxrr);
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]