mysql: just search for mysql_get_server_version
authorRuben Kerkhof <ruben@tilaa.com>
Sat, 1 Aug 2015 17:02:15 +0000 (19:02 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Fri, 11 Sep 2015 20:24:02 +0000 (22:24 +0200)
If we found that symbol, assume we also found mysql_init.

configure.ac

index f5acb0a..ce01b1e 100644 (file)
@@ -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"],