From af16a9e45e4aa49e9f1cb48198d0c2c840713daf Mon Sep 17 00:00:00 2001 From: Benjamin AIMARD Date: Mon, 7 Dec 2020 17:38:12 +0100 Subject: [PATCH] fix configure.ac --- configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index ebdc2f6a..48e3dcbc 100644 --- a/configure.ac +++ b/configure.ac @@ -82,11 +82,10 @@ AC_ARG_WITH([mysql], [with_mysql=yes]) AS_IF([test "x$with_mysql" != xno], [ - PKG_CHECK_MODULES([MYSQL], [mysqlclient]) - AC_DEFINE([HAVE_MYSQL], [1],[Define if you have mysqlclient]) - ], - [AC_MSG_WARN( - [libldap not found, will not be compiled (--without-ldap to disable ldap support)]) + PKG_CHECK_MODULES([MYSQL], [mysqlclient], + [AC_DEFINE([HAVE_MYSQL], [1],[Define if you have mysqlclient])], + [AC_MSG_WARN( + [libmysqlclient not found, will not be compiled (--without-mysql to disable mysql support)])]) ]) AM_CONDITIONAL(MYSQL_SUPPORT,test "x$with_mysql" != xno)