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)