Non-functional changes

This commit is contained in:
Sascha Schumann 2000-03-30 19:03:15 +00:00
parent 0a52ef6439
commit 27b736a192

View File

@ -18,17 +18,16 @@ AC_DEFUN(PHP_MYSQL_SOCK,[
AC_DEFINE_UNQUOTED(MYSQL_UNIX_ADDR, "$MYSQL_SOCK", [ ])
AC_MSG_RESULT($MYSQL_SOCK)
])
AC_MSG_CHECKING(for MySQL support)
AC_ARG_WITH(mysql,
PHP_ARG_WITH(mysql, for MySQL support,
[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
directory. If unspecified, the bundled MySQL library
will be used.],[
PHP_MYSQL=$withval
],[
PHP_MYSQL=yes
])
AC_MSG_RESULT($PHP_MYSQL)
will be used.], yes)
if test "$PHP_MYSQL" != "no"; then
AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
PHP_EXTENSION(mysql)
fi
if test "$PHP_MYSQL" = "yes"; then
PHP_MYSQL_SOCK
@ -38,7 +37,6 @@ if test "$PHP_MYSQL" = "yes"; then
PHP_SUBST(MYSQL_LIBADD)
PHP_SUBST(MYSQL_SUBDIRS)
PHP_EXTENSION(mysql)
AC_ADD_INCLUDE(${ext_src_base}libmysql)
elif test "$PHP_MYSQL" != "no"; then
for i in $PHP_MYSQL; do
@ -58,9 +56,4 @@ elif test "$PHP_MYSQL" != "no"; then
AC_ADD_LIBPATH($MYSQL_DIR/lib/mysql)
AC_ADD_LIBRARY(mysqlclient)
AC_ADD_INCLUDE($MYSQL_INC_DIR)
PHP_EXTENSION(mysql)
fi
if test "$PHP_MYSQL" != "no"; then
AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
fi