From 5864290d20fdcde87fe4cfe5f2af0e196559fad0 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 6 Mar 2000 20:12:12 +0000 Subject: [PATCH] Finish config.m4 changes --- ext/mysql/config.m4 | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ext/mysql/config.m4 b/ext/mysql/config.m4 index fc871a369bc..e3a7ed64a09 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 ])