diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-09-04 02:11:16 (GMT) |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-09-04 02:11:16 (GMT) |
commit | 4a079cf372ddfaaa80ad3843ce7c9a0c5e2700da (patch) | |
tree | 2e438fa74354060c20d87612543b53947dc59271 | |
parent | 665283575568e3184ba2881cf4a8474e6e11ffa5 (diff) | |
download | monitoring-plugins-4a079cf372ddfaaa80ad3843ce7c9a0c5e2700da.tar.gz |
Mysql dir fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@89 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 2 |
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" |
161 | CPPFLAGS="-I/usr/include" | 161 | CPPFLAGS="-I/usr/include" |
162 | AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval]) | 162 | AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval]) |
163 | if test -n "$MYSQLLIBS"; then | 163 | if 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) |
165 | elif test -f /usr/lib/libmysqlclient.so; then | 165 | elif 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) |