summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-05-30 09:55:31 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2006-05-30 09:55:31 +0000
commit25d253bf3fd59360e2d4f710b70a583311f7f243 (patch)
treef0a59740b756a74c1e8b67f5e7e1b886082e2296
parente6f525571f4f5c0fe9fb39ef459df0f5d5993259 (diff)
downloadmonitoring-plugins-25d253bf3fd59360e2d4f710b70a583311f7f243.tar.gz
Default to search path for mysql_config
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1411 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 405eb503..b6bab0a8 100644
--- a/configure.in
+++ b/configure.in
@@ -253,11 +253,12 @@ fi
253LIBS="$_SAVEDLIBS" 253LIBS="$_SAVEDLIBS"
254 254
255dnl Check for mysql libraries 255dnl Check for mysql libraries
256dnl Default is to search path for mysql_config
256AC_ARG_WITH(mysql, 257AC_ARG_WITH(mysql,
257 ACX_HELP_STRING([--with-mysql=DIR], 258 ACX_HELP_STRING([--with-mysql=DIR],
258 [Compiles mysql plugins. Expects DIR/bin/mysql_config]), 259 [Compiles mysql plugins. Expects DIR/bin/mysql_config]),
259 with_mysql=$withval, 260 with_mysql=$withval,
260 with_mysql=no) 261 with_mysql=yes)
261if test $with_mysql != "no" ; then 262if test $with_mysql != "no" ; then
262 if test -x $with_mysql/bin/mysql_config ; then 263 if test -x $with_mysql/bin/mysql_config ; then
263 MYSQLCONFIG="$with_mysql/bin/mysql_config" 264 MYSQLCONFIG="$with_mysql/bin/mysql_config"