Code

Mysql dir fix
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Wed, 4 Sep 2002 02:11:16 +0000 (02:11 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Wed, 4 Sep 2002 02:11:16 +0000 (02:11 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@89 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 8531628db93db3e8bd751a66f16ad58757cc3e5f..72552045b9a15d502747d30b66c6634ea88d786c 100644 (file)
@@ -160,7 +160,7 @@ _SAVEDLIBS="$LIBS"
 _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)