diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-24 12:48:07 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-24 12:48:07 (GMT) |
commit | 3e3f4b233d59b403a4b4e56de3054692f2d39657 (patch) | |
tree | f902992d9d5cbf0c66b6ae1a9fd2f94718fbda81 | |
parent | 49f15b6bbfa6d1be2f4d24a77086e2cde6db2a91 (diff) | |
download | monitoring-plugins-3e3f4b233d59b403a4b4e56de3054692f2d39657.tar.gz |
Fix for mysql 3.x (Jeremy Reed, Michael Tiernan - 1491936)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1401 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | THANKS.in | 2 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -181,3 +181,5 @@ Sakari Lehtonen | |||
181 | John Rouillard | 181 | John Rouillard |
182 | Sebastian Wiesinger | 182 | Sebastian Wiesinger |
183 | Jason Kau | 183 | Jason Kau |
184 | Michael Tiernan | ||
185 | Jeremy Reed | ||
diff --git a/configure.in b/configure.in index 0aee3bc..5988b33 100644 --- a/configure.in +++ b/configure.in | |||
@@ -273,6 +273,10 @@ if test $with_mysql != "no" ; then | |||
273 | with_mysql=$MYSQLCONFIG | 273 | with_mysql=$MYSQLCONFIG |
274 | EXTRAS="$EXTRAS check_mysql check_mysql_query" | 274 | EXTRAS="$EXTRAS check_mysql check_mysql_query" |
275 | MYSQLINCLUDE=`$MYSQLCONFIG --include` | 275 | MYSQLINCLUDE=`$MYSQLCONFIG --include` |
276 | # Mysql 3 does not support --include. --cflags should be sufficient | ||
277 | if test $? -ne 0 ; then | ||
278 | MYSQLINCLUDE="" | ||
279 | fi | ||
276 | MYSQLLIBS=`$MYSQLCONFIG --libs` | 280 | MYSQLLIBS=`$MYSQLCONFIG --libs` |
277 | MYSQLCFLAGS=`$MYSQLCONFIG --cflags` | 281 | MYSQLCFLAGS=`$MYSQLCONFIG --cflags` |
278 | AC_SUBST(MYSQLINCLUDE) | 282 | AC_SUBST(MYSQLINCLUDE) |