From: Ruben Kerkhof Date: Sat, 1 Aug 2015 17:02:15 +0000 (+0200) Subject: mysql: just search for mysql_get_server_version X-Git-Tag: collectd-5.5.1~52^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=412a434094fb5ef130b026962945ca5168bb4036;p=collectd.git mysql: just search for mysql_get_server_version If we found that symbol, assume we also found mysql_init. --- 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"],