File mysql-fedora-dir.patch of Package monitord
--- configure.ac 2011-05-09 22:15:18.804811946 +0200
+++ configure.ac 2011-05-09 22:15:10.440664924 +0200
@@ -115,6 +115,16 @@
fi
+
+ dnl If redhat mysql library path found, add it to the path for better results
+ if test "-f /etc/fedora-release" ; then
+ archsuffix=""
+ if test "`arch`" == "x86_64" ; then
+ archsuffix="64"
+ fi
+ LDFLAGS="$LDFLAGS -L/usr/lib${archsuffix}/mysql"
+ fi
+
LIBMYSQLCLIENT=
AS_IF([test "x$use_mysql" != xno] ,
[AC_CHECK_LIB([$MYSQLLIBNAME],[mysql_init],