Fix AC_SUBST() usage for USE_MYSQL.

This commit is contained in:
Alexey Kopytov
2016-12-12 14:03:17 +03:00
parent 68fda7fbd1
commit 7ba50048a8

View File

@ -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,,