From: Subhendu Ghosh Date: Wed, 4 Sep 2002 02:11:16 +0000 (+0000) Subject: Mysql dir fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4a079cf372ddfaaa80ad3843ce7c9a0c5e2700da;p=nagiosplug.git Mysql dir fix git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@89 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/configure.in b/configure.in index 8531628..7255204 100644 --- a/configure.in +++ b/configure.in @@ -160,7 +160,7 @@ _SAVEDLIBS="$LIBS" _SAVEDCPPFLAGS="$CPPFLAGS" CPPFLAGS="-I/usr/include" AC_ARG_WITH(mysqllibdir,--with-mysqllibdir= 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)