Pārlūkot izejas kodu

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 <[email protected]>
Sebastian Kemper 3 gadi atpakaļ
vecāks
revīzija
10c91c65a3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      configure

+ 1 - 1
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."