summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-03-21 13:32:58 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2006-03-21 13:32:58 (GMT)
commit971244f9abb14001c8528733d855bbedbbd4bb5e (patch)
tree00521c358e70ad373388d65876a6cb4b162f8fc2
parent6f84a6574b097eba3f727e5f2b257309ca6c0e1b (diff)
downloadmonitoring-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.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 87b8e2c..6ce6b0b 100644
--- a/configure.in
+++ b/configure.in
@@ -261,6 +261,10 @@ if test -z "$MYSQLCONFIG"; then
261else 261else
262 EXTRAS="$EXTRAS check_mysql check_mysql_query" 262 EXTRAS="$EXTRAS check_mysql check_mysql_query"
263 MYSQLINCLUDE=`$MYSQLCONFIG --include` 263 MYSQLINCLUDE=`$MYSQLCONFIG --include`
264 if test $? != 0 ; then
265 # mysql_config for 3.x does not support --include
266 MYSQLINCLUDE=""
267 fi
264 MYSQLLIBS=`$MYSQLCONFIG --libs` 268 MYSQLLIBS=`$MYSQLCONFIG --libs`
265 MYSQLCFLAGS=`$MYSQLCONFIG --cflags` 269 MYSQLCFLAGS=`$MYSQLCONFIG --cflags`
266 AC_SUBST(MYSQLINCLUDE) 270 AC_SUBST(MYSQLINCLUDE)