From 10c91c65a39a471d9ab4e0e122a1e4a2f884369a Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 26 Dec 2021 16:14:27 +0100 Subject: [PATCH] configure: support MariaDB Connector/C If libmariadb is installed from the MariaDB server package, the pc file is "mariadb.pc". But when MariaDB Connector/C is used, it's actually "libmariadb.pc". This commit adds the latter to the detection. Signed-off-by: Sebastian Kemper --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 74d02581..c127c03f 100755 --- a/configure +++ b/configure @@ -945,7 +945,7 @@ fi ########################### if [ -z "${TURN_NO_MYSQL}" ] ; then - if testpkg_db mariadb || testpkg_db mysqlclient || test_mysql_config; then + if testpkg_db libmariadb || testpkg_db mariadb || testpkg_db mysqlclient || test_mysql_config; then ${ECHO_CMD} "MySQL found." else ${ECHO_CMD} "MySQL not found. Building without MySQL support."