From dd5f975cc9e150c3ca8400790484da99d085383a Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Mon, 9 Oct 2006 04:46:03 +0000 Subject: [PATCH] Fix for bug #39085: PHP6 requires mysqli_set_character_set function which was introduced in MySQL 4.1.13 and 5.0.7 --- ext/mysqli/config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4 index 2c1af87054..feca0b3626 100644 --- a/ext/mysqli/config.m4 +++ b/ext/mysqli/config.m4 @@ -49,9 +49,9 @@ dnl fi PHP_EVAL_INCLINE($MYSQLI_INCLINE) PHP_EVAL_LIBLINE($MYSQLI_LIBLINE, MYSQLI_SHARED_LIBADD) AC_DEFINE(HAVE_MYSQLILIB,1,[ ]) - PHP_CHECK_LIBRARY($MYSQL_LIB_NAME, mysql_stmt_field_count, + PHP_CHECK_LIBRARY($MYSQL_LIB_NAME, mysql_set_character_set, [ ],[ - AC_MSG_ERROR([MySQLI doesn't support versions < 4.1.3 (for MySQL 4.1.x) and < 5.0.1 for (MySQL 5.0.x) anymore. Please update your libraries.]) + AC_MSG_ERROR([MySQLI doesn't support versions < 4.1.13 (for MySQL 4.1.x) and < 5.0.7 for (MySQL 5.0.x) anymore. Please update your libraries.]) ],[$MYSQLI_LIBLINE]) ],[ AC_MSG_ERROR([wrong mysql library version or lib not found. Check config.log for more information.]) -- 2.50.1