[Nagiosplug-checkins] nagiosplug configure.in,1.174,1.175

Ton Voon tonvoon at users.sourceforge.net
Tue Mar 21 08:48:29 CET 2006


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

Modified Files:
	configure.in 
Log Message:
Fix for mysql 3.x


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -d -r1.174 -r1.175
--- configure.in	21 Mar 2006 11:42:59 -0000	1.174
+++ configure.in	21 Mar 2006 13:32:58 -0000	1.175
@@ -261,6 +261,10 @@
 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)





More information about the Commits mailing list