From: Florian Forster Date: Fri, 24 Aug 2007 11:57:19 +0000 (+0200) Subject: build system: Use the libs provided by `mysql_config' to check for the lib itself. X-Git-Tag: collectd-4.0.7~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0d8d4bcfda2d23f563f487d7e93e6237205f09b7;p=collectd.git build system: Use the libs provided by `mysql_config' to check for the lib itself. --- diff --git a/configure.in b/configure.in index 14595b39..cbf91901 100644 --- a/configure.in +++ b/configure.in @@ -1057,7 +1057,11 @@ then [ AC_DEFINE(HAVE_LIBMYSQLCLIENT, 1, [Define to 1 if you have the mysqlclient library (-lmysqlclient).]) - ], [with_libmysql="no (libmysql not found)"]) + ], + [ + with_libmysql="no (libmysql not found)" + ], + [$with_mysql_libs]) fi if test "x$with_libmysql" = "xyes" then