diff options
Diffstat (limited to 'ext/mysql/config.m4')
| -rw-r--r-- | ext/mysql/config.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/mysql/config.m4 b/ext/mysql/config.m4 index f5ed71c6c5..08e9ebbd2e 100644 --- a/ext/mysql/config.m4 +++ b/ext/mysql/config.m4 @@ -40,8 +40,9 @@ AC_DEFUN([PHP_MYSQL_SOCKET_SEARCH], [ PHP_ARG_WITH(mysql, for MySQL support, -[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory. - If mysqlnd is passed as DIR, the MySQL native driver will be used]) +[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base + directory. If mysqlnd is passed as DIR, + the MySQL native driver will be used [/usr/local]]) PHP_ARG_WITH(mysql-sock, for specified location of the MySQL UNIX socket, [ --with-mysql-sock[=DIR] MySQL: Location of the MySQL unix socket pointer. @@ -155,7 +156,7 @@ if test "$PHP_MYSQL" != "no"; then PHP_NEW_EXTENSION(mysql, php_mysql.c, $ext_shared) PHP_SUBST(MYSQL_SHARED_LIBADD) - if test "$PHP_MYSQLI" = "mysqlnd"; then - PHP_ADD_EXTENSION_DEP(mysqli, mysqlnd) + if test "$PHP_MYSQL" = "mysqlnd"; then + PHP_ADD_EXTENSION_DEP(mysql, mysqlnd) fi fi |
