Description: Use mariadb_config
 Use mariadb instead of mysql
Author: Craig Small <csmall@debian.org>
Forwarded: not-needed
Last-Update: 2026-05-27
--- a/configure.d/config_os_libs2
+++ b/configure.d/config_os_libs2
@@ -633,9 +633,9 @@
 #   mysql
 ##
 if test "x$with_mysql" = "xyes" ; then
-  AC_PATH_PROGS(MYSQLCONFIG,mysql_config)
+  AC_PATH_PROGS(MYSQLCONFIG,mariadb_config)
   test -x "$MYSQLCONFIG" \
-	|| AC_MSG_ERROR([Could not find mysql_config and was specifically asked to use MySQL support])
+	|| AC_MSG_ERROR([Could not find mariadb_config and was specifically asked to use MySQL support])
   MYSQL_LIBS=`$MYSQLCONFIG --libs`
   MYSQL_INCLUDES=`$MYSQLCONFIG --include`
   _libs="${LIBS}"
