sniper Tue Sep 23 04:16:48 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/snmp config.m4
Log:
MFH: - Fixed bug #25604 (HAVE_SNMP_PARSE_OID undefined with phpize build)
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.401 php-src/NEWS:1.1247.2.402
--- php-src/NEWS:1.1247.2.401 Fri Sep 19 22:52:44 2003
+++ php-src/NEWS Tue Sep 23 04:16:46 2003
@@ -7,6 +7,7 @@
- Fixed crash bug when non-existing save/serializer handler was used. (Jani)
- Fixed memory leak in gethostbynamel() if an error occurs. (Sara)
- Fixed FastCGI being unable to bind to a specific IP. (Sascha)
+- Fixed bug #25604 (HAVE_SNMP_PARSE_OID undefined with phpize build). (Jani)
- Fixed bug #25583 (Incorrect handling of paths starting with / on win32
inside glob() function). (Ilia)
- Fixed bug #25570 (Possible crash in apache2handler when zend_bailout called
Index: php-src/ext/snmp/config.m4
diff -u php-src/ext/snmp/config.m4:1.28.2.2 php-src/ext/snmp/config.m4:1.28.2.3
--- php-src/ext/snmp/config.m4:1.28.2.2 Wed Aug 27 13:57:31 2003
+++ php-src/ext/snmp/config.m4 Tue Sep 23 04:16:47 2003
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.28.2.2 2003/08/27 17:57:31 sniper Exp $
+dnl $Id: config.m4,v 1.28.2.3 2003/09/23 08:16:47 sniper Exp $
dnl
PHP_ARG_WITH(snmp,for SNMP support,
@@ -101,8 +101,15 @@
SNMP_LIBNAME=snmp
fi
- AC_CHECK_FUNCS(snmp_parse_oid)
+ dnl Check whether snmp_parse_oid() exists.
+ PHP_CHECK_LIBRARY($SNMP_LIBNAME, snmp_parse_oid,
+ [
+ AC_DEFINE(HAVE_SNMP_PARSE_OID, 1, [ ])
+ ], [], [
+ $SNMP_SHARED_LIBADD
+ ])
+ dnl Test build.
PHP_CHECK_LIBRARY($SNMP_LIBNAME, init_snmp,
[
AC_DEFINE(HAVE_SNMP,1,[ ])
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php