]> granicus.if.org Git - php/commitdiff
MFH: Don't enable mysqlnd when pdo_mysql is being built with libmysql
authorJohannes Schlüter <johannes@php.net>
Thu, 6 Nov 2008 11:12:21 +0000 (11:12 +0000)
committerJohannes Schlüter <johannes@php.net>
Thu, 6 Nov 2008 11:12:21 +0000 (11:12 +0000)
ext/pdo_mysql/config.m4

index 931cddc0cb541b8e94708e8a4e5b4e0c1353f060..28094d33639b136bae3bd88255fe16cd6b74dddc 100755 (executable)
@@ -18,8 +18,6 @@ if test "$PHP_PDO_MYSQL" != "no"; then
     AC_MSG_ERROR([PDO is not enabled! Add --enable-pdo to your configure line.])
   fi
 
-  PHP_MYSQLND_ENABLED=yes
-
   AC_DEFUN([PDO_MYSQL_LIB_CHK], [
     str="$PDO_MYSQL_DIR/$1/libmysqlclient*"
     for j in `echo $str`; do
@@ -32,7 +30,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then
 
   if test "$PHP_PDO_MYSQL" = "mysqlnd"; then
     dnl enables build of mysqnd library
-    PHP_MYSQL_ENABLED=yes
+    PHP_MYSQLND_ENABLED=yes
     AC_DEFINE([PDO_USE_MYSQLND], 1, [Whether pdo_mysql uses mysqlnd])
   else
     AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])