From ffa4ca422d7de173f1a154f388ec7598fadd248c Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Mon, 6 Jan 2020 12:19:00 -0600 Subject: [PATCH] [Build-system] Fallback for mariadb lib check --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0ac4448aa3..62a5ada863 100644 --- a/configure.ac +++ b/configure.ac @@ -708,7 +708,11 @@ AC_SUBST([POSTGRESQL_LIBDIR], [$POSTGRESQL_LIBDIR]) PKG_CHECK_MODULES([MARIADB], [libmariadb >= 3.0.9],[ AM_CONDITIONAL([HAVE_MARIADB],[true])],[ - AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_MARIADB],[false])]) + AC_MSG_RESULT([no]); + PKG_CHECK_MODULES([MARIADB], [mariadb >= 3.0.9],[ + AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_MARIADB],[false]) + ]) +]) AC_ARG_ENABLE(deprecated-core-db-events, [AS_HELP_STRING([--enable-deprecated-core-db-events], [Keep deprecated core db events])],,[enable_deprecated_core_db_events="no"])