mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +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_RESULT($MYSQL_SOCK)
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_MSG_CHECKING(for MySQL support)
|
PHP_ARG_WITH(mysql, for MySQL support,
|
||||||
AC_ARG_WITH(mysql,
|
|
||||||
[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
|
[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
|
||||||
directory. If unspecified, the bundled MySQL library
|
directory. If unspecified, the bundled MySQL library
|
||||||
will be used.],[
|
will be used.], yes)
|
||||||
PHP_MYSQL=$withval
|
|
||||||
],[
|
if test "$PHP_MYSQL" != "no"; then
|
||||||
PHP_MYSQL=yes
|
AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
|
||||||
])
|
PHP_EXTENSION(mysql)
|
||||||
AC_MSG_RESULT($PHP_MYSQL)
|
fi
|
||||||
|
|
||||||
if test "$PHP_MYSQL" = "yes"; then
|
if test "$PHP_MYSQL" = "yes"; then
|
||||||
PHP_MYSQL_SOCK
|
PHP_MYSQL_SOCK
|
||||||
@ -38,7 +37,6 @@ if test "$PHP_MYSQL" = "yes"; then
|
|||||||
PHP_SUBST(MYSQL_LIBADD)
|
PHP_SUBST(MYSQL_LIBADD)
|
||||||
PHP_SUBST(MYSQL_SUBDIRS)
|
PHP_SUBST(MYSQL_SUBDIRS)
|
||||||
|
|
||||||
PHP_EXTENSION(mysql)
|
|
||||||
AC_ADD_INCLUDE(${ext_src_base}libmysql)
|
AC_ADD_INCLUDE(${ext_src_base}libmysql)
|
||||||
elif test "$PHP_MYSQL" != "no"; then
|
elif test "$PHP_MYSQL" != "no"; then
|
||||||
for i in $PHP_MYSQL; do
|
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_LIBPATH($MYSQL_DIR/lib/mysql)
|
||||||
AC_ADD_LIBRARY(mysqlclient)
|
AC_ADD_LIBRARY(mysqlclient)
|
||||||
AC_ADD_INCLUDE($MYSQL_INC_DIR)
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user