johannes Mon Dec 1 23:29:42 2008 UTC
Modified files:
/php-src/ext/recode config9.m4
Log:
- hash_insert was renamed in MySQL 5.0 so we can safely use recode and mysql
with recent libmysql versions [DOC]
http://cvs.php.net/viewvc.cgi/php-src/ext/recode/config9.m4?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/recode/config9.m4
diff -u php-src/ext/recode/config9.m4:1.2 php-src/ext/recode/config9.m4:1.3
--- php-src/ext/recode/config9.m4:1.2 Tue Nov 9 16:11:13 2004
+++ php-src/ext/recode/config9.m4 Mon Dec 1 23:29:42 2008
@@ -1,11 +1,16 @@
dnl
-dnl $Id: config9.m4,v 1.2 2004/11/09 16:11:13 jorton Exp $
+dnl $Id: config9.m4,v 1.3 2008/12/01 23:29:42 johannes Exp $
dnl
dnl Check for extensions with which Recode can not work
if test "$PHP_RECODE" != "no"; then
test "$PHP_IMAP" != "no" && recode_conflict="$recode_conflict imap"
- test "$PHP_MYSQL" != "no" && recode_conflict="$recode_conflict mysql"
+
+ if test -n "$MYSQL_LIBNAME"; then
+ PHP_CHECK_LIBRARY($MYSQL_LIBNAME, hash_insert, [
+ recode_conflict="$recode_conflict mysql"
+ ])
+ fi
if test -n "$recode_conflict"; then
AC_MSG_ERROR([recode extension can not be configured together
with:$recode_conflict])
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php