diff options
| author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-30 09:55:31 +0000 |
|---|---|---|
| committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-30 09:55:31 +0000 |
| commit | 25d253bf3fd59360e2d4f710b70a583311f7f243 (patch) | |
| tree | f0a59740b756a74c1e8b67f5e7e1b886082e2296 | |
| parent | e6f525571f4f5c0fe9fb39ef459df0f5d5993259 (diff) | |
| download | monitoring-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.in | 3 |
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 | |||
| 253 | LIBS="$_SAVEDLIBS" | 253 | LIBS="$_SAVEDLIBS" |
| 254 | 254 | ||
| 255 | dnl Check for mysql libraries | 255 | dnl Check for mysql libraries |
| 256 | dnl Default is to search path for mysql_config | ||
| 256 | AC_ARG_WITH(mysql, | 257 | AC_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) |
| 261 | if test $with_mysql != "no" ; then | 262 | if 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" |
