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
This commit is contained in:
Ton Voon 2006-05-30 09:55:31 +00:00
parent e6f525571f
commit 25d253bf3f

View file

@ -253,11 +253,12 @@ fi
LIBS="$_SAVEDLIBS"
dnl Check for mysql libraries
dnl Default is to search path for mysql_config
AC_ARG_WITH(mysql,
ACX_HELP_STRING([--with-mysql=DIR],
[Compiles mysql plugins. Expects DIR/bin/mysql_config]),
with_mysql=$withval,
with_mysql=no)
with_mysql=yes)
if test $with_mysql != "no" ; then
if test -x $with_mysql/bin/mysql_config ; then
MYSQLCONFIG="$with_mysql/bin/mysql_config"