version 1.293, 2024/05/28 17:03:48
|
version 1.294, 2024/05/28 17:10:40
|
Line 880 if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP
|
Line 880 if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[MYSQL mysql; mysql_init(&mysql);]])],[AC_MSG_RESULT([yes]); MYSQL_LIB="yes"],[AC_MSG_RESULT([no]); MYSQL_LIB="no"]) |
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[MYSQL mysql; mysql_init(&mysql);]])],[AC_MSG_RESULT([yes]); MYSQL_LIB="yes"],[AC_MSG_RESULT([no]); MYSQL_LIB="no"]) |
LIBS=$saved_LIBS; |
LIBS=$saved_LIBS; |
if test $STATIC = no; then |
if test $STATIC = no; then |
libMySQLlib="-L/$libMySQLlib -lmysqlclient_r" |
libMySQLlib="-L/$libMySQLlib -lmysqlclient_r -lssl -lcrypto" |
else |
else |
libMySQLlib="$libMySQLlib/libmysqlclient_r.a -lssl -lcrypto" |
libMySQLlib="$libMySQLlib/libmysqlclient_r.a -lssl -lcrypto" |
EXT_SQL="$EXT_SQL $libMySQLlib" |
EXT_SQL="$EXT_SQL $libMySQLlib" |