From 7ba50048a8decafcb1eeb5afa37d68d4171458c9 Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Mon, 12 Dec 2016 14:03:17 +0300 Subject: [PATCH] Fix AC_SUBST() usage for USE_MYSQL. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cdf219d..8c060b0 100644 --- a/configure.ac +++ b/configure.ac @@ -204,11 +204,12 @@ AS_IF([test "x$with_mysql" != xno], [ AC_CHECK_MYSQLR([$with_mysql]) AC_DEFINE([USE_MYSQL], 1, [Define to 1 if you want to compile with MySQL support]) + USE_MYSQL=1 AC_SUBST([MYSQL_LIBS]) AC_SUBST([MYSQL_CFLAGS]) ]) AM_CONDITIONAL([USE_MYSQL], test x$with_mysql != xno) -AC_SUBST([USE_MYSQL], test x$with_mysql != xno) +AC_SUBST([USE_MYSQL]) AS_IF([test "x$with_drizzle" != xno], [ AC_LIB_HAVE_LINKFLAGS(drizzle,,