From: Doug MacEachern Date: Fri, 8 May 2009 01:05:01 +0000 (-0700) Subject: configure.in: Check for `mysql_get_server_version' in libmyql. X-Git-Tag: collectd-4.5.4~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2b65cef7870c385b9b56b34701ced62528f3f7c0;p=collectd.git configure.in: Check for `mysql_get_server_version' in libmyql. Signed-off-by: Doug MacEachern Signed-off-by: Florian Forster --- diff --git a/configure.in b/configure.in index e6a4964e..b6a4d0fd 100644 --- a/configure.in +++ b/configure.in @@ -1444,6 +1444,11 @@ then [with_libmysql="yes"], [with_libmysql="no (symbol 'mysql_init' not found)"], [$with_mysql_libs]) + + AC_CHECK_LIB(mysqlclient, mysql_get_server_version, + [with_libmysql="yes"], + [with_libmysql="no (symbol 'mysql_get_server_version' not found)"], + [$with_mysql_libs]) fi fi if test "x$with_libmysql" = "xyes"