From 971244f9abb14001c8528733d855bbedbbd4bb5e Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 21 Mar 2006 13:32:58 +0000 Subject: Fix for mysql 3.x git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1336 f882894a-f735-0410-b71e-b25c423dba1c --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3