[Build-system] Fallback for mariadb lib check

This commit is contained in:
Nathan Neulinger 2020-01-06 12:19:00 -06:00 committed by Andrey Volk
parent 053be38506
commit ffa4ca422d
1 changed files with 5 additions and 1 deletions

View File

@ -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"])