Code

Default to search path for mysql_config
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 30 May 2006 09:55:31 +0000 (09:55 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 30 May 2006 09:55:31 +0000 (09:55 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1411 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 405eb503bfb77cba20eb4470272782421e438e65..b6bab0a8192daf5acd62f91c3588ad0a2cb86955 100644 (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"