mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
The mysqlclient_r library exists in mysql-5.6 for compatibility only. Later versions have it removed.
This commit is contained in:
parent
c9abb0c0ac
commit
1aab7db6c8
@ -57,9 +57,6 @@ elif test "$PHP_MYSQLI" != "no"; then
|
||||
MYSQL_LIB_CFG='--libmysqld-libs'
|
||||
dnl mysqlnd doesn't support embedded, so we have to add some extra stuff
|
||||
mysqli_extra_sources="mysqli_embedded.c"
|
||||
elif test "$enable_maintainer_zts" = "yes"; then
|
||||
MYSQL_LIB_CFG='--libs_r'
|
||||
MYSQL_LIB_NAME='mysqlclient_r'
|
||||
else
|
||||
MYSQL_LIB_CFG='--libs'
|
||||
fi
|
||||
|
@ -66,13 +66,8 @@ if test "$PHP_PDO_MYSQL" != "no"; then
|
||||
if test "x$SED" = "x"; then
|
||||
AC_PATH_PROG(SED, sed)
|
||||
fi
|
||||
if test "$enable_maintainer_zts" = "yes"; then
|
||||
PDO_MYSQL_LIBNAME=mysqlclient_r
|
||||
PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs_r | $SED -e "s/'//g"`
|
||||
else
|
||||
PDO_MYSQL_LIBNAME=mysqlclient
|
||||
PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g"`
|
||||
fi
|
||||
PDO_MYSQL_LIBNAME=mysqlclient
|
||||
PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g"`
|
||||
PDO_MYSQL_INCLUDE=`$PDO_MYSQL_CONFIG --cflags | $SED -e "s/'//g"`
|
||||
elif test -n "$PDO_MYSQL_DIR"; then
|
||||
AC_MSG_RESULT([not found])
|
||||
|
Loading…
Reference in New Issue
Block a user