mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Non-functional changes
This commit is contained in:
parent
0a52ef6439
commit
27b736a192
@ -19,16 +19,15 @@ AC_DEFUN(PHP_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
|
||||
|
Loading…
Reference in New Issue
Block a user