Skip to content

Commit

Permalink
fix configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
baimard committed Dec 7, 2020
1 parent 3a7f900 commit af16a9e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions configure.ac
Expand Up @@ -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)

Expand Down

0 comments on commit af16a9e

Please sign in to comment.