summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8531628..7255204 100644
--- a/configure.in
+++ b/configure.in
@@ -160,7 +160,7 @@ _SAVEDLIBS="$LIBS"
160_SAVEDCPPFLAGS="$CPPFLAGS" 160_SAVEDCPPFLAGS="$CPPFLAGS"
161CPPFLAGS="-I/usr/include" 161CPPFLAGS="-I/usr/include"
162AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval]) 162AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval])
163if test -n "$MYSQLLIBS"; then 163if test -n "$MYSQLLIBDIR"; then
164 AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz" check_mysql_LDFLAGS="-L$MYSQLLIBDIR",,-L$MYSQLLIBDIR -lz) 164 AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz" check_mysql_LDFLAGS="-L$MYSQLLIBDIR",,-L$MYSQLLIBDIR -lz)
165elif test -f /usr/lib/libmysqlclient.so; then 165elif test -f /usr/lib/libmysqlclient.so; then
166 AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz",,-lz) 166 AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz",,-lz)