diff options
| -rw-r--r-- | ext/mysql/config.m4 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/mysql/config.m4 b/ext/mysql/config.m4 index fc871a369b..e3a7ed64a0 100644 --- a/ext/mysql/config.m4 +++ b/ext/mysql/config.m4 @@ -3,15 +3,12 @@ dnl $Id$ sinclude(ext/mysql/libmysql/acinclude.m4) sinclude(ext/mysql/libmysql/mysql.m4) +AC_ARG_WITH(mysql,[],[enable_mysql=$withval]) + AC_MSG_CHECKING(for MySQL support) -AC_ARG_WITH(mysql, -[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base - install directory, defaults to searching through - a number of common places for the MySQL files. - Set DIR to "shared" to build as a dl, or "shared,DIR" - to build as a dl and still specify DIR.], -[ - PHP_MYSQL=$withval +AC_ARG_ENABLE(mysql, +[ --enable-mysql Enable embedded MySQL support],[ + PHP_MYSQL=$enableval ],[ PHP_MYSQL=no ]) |
