diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-21 13:32:58 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-21 13:32:58 +0000 |
commit | 971244f9abb14001c8528733d855bbedbbd4bb5e (patch) | |
tree | 00521c358e70ad373388d65876a6cb4b162f8fc2 | |
parent | 6f84a6574b097eba3f727e5f2b257309ca6c0e1b (diff) | |
download | monitoring-plugins-971244f9abb14001c8528733d855bbedbbd4bb5e.tar.gz |
Fix for mysql 3.x
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1336 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 87b8e2cc..6ce6b0b1 100644 --- a/configure.in +++ b/configure.in @@ -261,6 +261,10 @@ if test -z "$MYSQLCONFIG"; then else EXTRAS="$EXTRAS check_mysql check_mysql_query" MYSQLINCLUDE=`$MYSQLCONFIG --include` + if test $? != 0 ; then + # mysql_config for 3.x does not support --include + MYSQLINCLUDE="" + fi MYSQLLIBS=`$MYSQLCONFIG --libs` MYSQLCFLAGS=`$MYSQLCONFIG --cflags` AC_SUBST(MYSQLINCLUDE) |