configure.in: Check for `mysql_get_server_version' in libmyql.
authorDoug MacEachern <dougm@hyperic.com>
Fri, 8 May 2009 01:05:01 +0000 (18:05 -0700)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 9 May 2009 09:00:47 +0000 (11:00 +0200)
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in

index e6a4964..b6a4d0f 100644 (file)
@@ -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"