From 412a434094fb5ef130b026962945ca5168bb4036 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 1 Aug 2015 19:02:15 +0200 Subject: [PATCH] mysql: just search for mysql_get_server_version If we found that symbol, assume we also found mysql_init. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index f5acb0a1..ce01b1ee 100644 --- a/configure.ac +++ b/configure.ac @@ -2625,12 +2625,6 @@ then CPPFLAGS="$CPPFLAGS $with_mysql_cflags" SAVE_LIBS="$LIBS" LIBS="$with_mysql_libs" - AC_SEARCH_LIBS([mysql_init], - [], - [with_libmysql="yes"], - [with_libmysql="no (symbol 'mysql_init' not found)"], - []) - AC_SEARCH_LIBS([mysql_get_server_version], [], [with_libmysql="yes"], -- 2.11.0