mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-07-16 22:37:50 -04:00
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
This commit is contained in:
parent
49f15b6bbf
commit
3e3f4b233d
2 changed files with 6 additions and 0 deletions
|
|
@ -181,3 +181,5 @@ Sakari Lehtonen
|
|||
John Rouillard
|
||||
Sebastian Wiesinger
|
||||
Jason Kau
|
||||
Michael Tiernan
|
||||
Jeremy Reed
|
||||
|
|
|
|||
|
|
@ -273,6 +273,10 @@ if test $with_mysql != "no" ; then
|
|||
with_mysql=$MYSQLCONFIG
|
||||
EXTRAS="$EXTRAS check_mysql check_mysql_query"
|
||||
MYSQLINCLUDE=`$MYSQLCONFIG --include`
|
||||
# Mysql 3 does not support --include. --cflags should be sufficient
|
||||
if test $? -ne 0 ; then
|
||||
MYSQLINCLUDE=""
|
||||
fi
|
||||
MYSQLLIBS=`$MYSQLCONFIG --libs`
|
||||
MYSQLCFLAGS=`$MYSQLCONFIG --cflags`
|
||||
AC_SUBST(MYSQLINCLUDE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue