sniper Sat Mar 10 19:49:21 2001 EDT Modified files: /php4/ext/standard basic_functions.c dns.c dns.h /php4/main config.w32.h Log: HAVE_BINDLIB --> HAVE_LIBBIND Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.313 php4/ext/standard/basic_functions.c:1.314 --- php4/ext/standard/basic_functions.c:1.313 Fri Mar 9 13:42:26 2001 +++ php4/ext/standard/basic_functions.c Sat Mar 10 19:49:21 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.313 2001/03/09 21:42:26 andrei Exp $ */ +/* $Id: basic_functions.c,v 1.314 2001/03/11 03:49:21 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_BINDLIB && !(defined(__BEOS__)||defined(PHP_WIN32)) +#if HAVE_LIBBIND && !(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.26 php4/ext/standard/dns.c:1.27 --- php4/ext/standard/dns.c:1.26 Sun Feb 25 22:07:17 2001 +++ php4/ext/standard/dns.c Sat Mar 10 19:49:21 2001 @@ -16,14 +16,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.26 2001/02/26 06:07:17 andi Exp $ */ +/* $Id: dns.c,v 1.27 2001/03/11 03:49:21 sniper Exp $ */ #include "php.h" #if HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif #ifdef PHP_WIN32 -#if HAVE_BINDLIB +#if HAVE_LIBBIND #ifndef WINNT #define WINNT 1 #endif @@ -167,7 +167,7 @@ return estrdup(inet_ntoa(in)); } -#if HAVE_BINDLIB && !(defined(__BEOS__)||defined(PHP_WIN32)) +#if HAVE_LIBBIND && !(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.7 php4/ext/standard/dns.h:1.8 --- php4/ext/standard/dns.h:1.7 Sun Feb 25 22:07:17 2001 +++ php4/ext/standard/dns.h Sat Mar 10 19:49:21 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.h,v 1.7 2001/02/26 06:07:17 andi Exp $ */ +/* $Id: dns.h,v 1.8 2001/03/11 03:49:21 sniper Exp $ */ #ifndef DNS_H #define DNS_H @@ -25,7 +25,7 @@ PHP_FUNCTION(gethostbyaddr); PHP_FUNCTION(gethostbyname); PHP_FUNCTION(gethostbynamel); -#if !defined(PHP_WIN32)||(HAVE_BINDLIB) +#if !defined(PHP_WIN32)||(HAVE_LIBBIND) PHP_FUNCTION(checkdnsrr); PHP_FUNCTION(getmxrr); #endif Index: php4/main/config.w32.h diff -u php4/main/config.w32.h:1.39 php4/main/config.w32.h:1.40 --- php4/main/config.w32.h:1.39 Sun Jan 14 08:36:30 2001 +++ php4/main/config.w32.h Sat Mar 10 19:49:21 2001 @@ -10,7 +10,7 @@ lib33bsd95.lib to the project settings, and add the path to the bind include directory to the preprocessor settings. These libs are availabe in the ntbind distribution */ -#define HAVE_BINDLIB 1 +#define HAVE_LIBBIND 1 /* set to enable bcmath */ #define WITH_BCMATH 1 @@ -231,7 +231,7 @@ #define HAVE_LOCALE_H 1 /* Define if you have the setvbuf function. */ -#ifndef HAVE_BINDLIB +#ifndef HAVE_LIBBIND #define HAVE_SETVBUF 1 #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]