[Nagiosplug-checkins] nagiosplug THANKS.in,1.24,1.25 configure.in,1.186,1.187

Ton Voon tonvoon at users.sourceforge.net
Wed May 24 05:49:05 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15670

Modified Files:
	THANKS.in configure.in 
Log Message:
Fix for mysql 3.x (Jeremy Reed, Michael Tiernan - 1491936)


Index: THANKS.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/THANKS.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- THANKS.in	6 Apr 2006 10:08:57 -0000	1.24
+++ THANKS.in	24 May 2006 12:48:07 -0000	1.25
@@ -181,3 +181,5 @@
 John Rouillard
 Sebastian Wiesinger
 Jason Kau
+Michael Tiernan
+Jeremy Reed

Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- configure.in	19 May 2006 21:41:02 -0000	1.186
+++ configure.in	24 May 2006 12:48:07 -0000	1.187
@@ -273,6 +273,10 @@
     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)





More information about the Commits mailing list