blob: 082234f2d82c7183bb11d82bc0c1221071181d21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- configure.in
+++ configure.in 2002/07/01 13:58:19
@@ -160,7 +160,7 @@
_SAVEDCPPFLAGS="$CPPFLAGS"
CPPFLAGS="-I/usr/include"
AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval])
-if test -n "$MYSQLLIBS"; then
+if test -n "$MYSQLLIBDIR"; then
AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz" check_mysql_LDFLAGS="-L$MYSQLLIBDIR",,-L$MYSQLLIBDIR -lz)
elif test -f /usr/lib/libmysqlclient.so; then
AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz",,-lz)
|