From 2b65cef7870c385b9b56b34701ced62528f3f7c0 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 7 May 2009 18:05:01 -0700 Subject: [PATCH] configure.in: Check for `mysql_get_server_version' in libmyql. Signed-off-by: Doug MacEachern Signed-off-by: Florian Forster --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.11.0