summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6652835)
raw | patch | inline | side by side (parent: 6652835)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 4 Sep 2002 02:11:16 +0000 (02:11 +0000) | ||
committer | Subhendu 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 | patch | blob | history |
diff --git a/configure.in b/configure.in
index 8531628db93db3e8bd751a66f16ad58757cc3e5f..72552045b9a15d502747d30b66c6634ea88d786c 100644 (file)
--- a/configure.in
+++ b/configure.in
_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)