From: Ruben Kerkhof Date: Wed, 24 Dec 2014 18:06:49 +0000 (+0100) Subject: Move define to the right place X-Git-Tag: rec-3.7.0-rc1~81^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65f4f978315795d63153ee306f5b3eea656ecddb;p=pdns Move define to the right place --- diff --git a/configure.ac b/configure.ac index 000f601ef..5a4ddd19f 100644 --- a/configure.ac +++ b/configure.ac @@ -286,10 +286,9 @@ AM_CONDITIONAL([LMDB],[test "x$needlmdb" = "xyes"]) AM_CONDITIONAL([SQLITE3], [test "x$needsqlite3" = "xyes"]) AS_IF([test "x$needsqlite3" = "xyes"], [ PKG_CHECK_MODULES([SQLITE3], $SQLITE3PC, - [HAVE_SQLITE3=yes], - [AC_MSG_ERROR([Could not find sqlite3])] + [AC_DEFINE([HAVE_SQLITE3], [1], [Define to 1 if you have sqlite3])], + [AC_MSG_ERROR([Could not find libsqlite3])] ) - AC_DEFINE([HAVE_SQLITE3],[1],[If we have sqlite3]) ]) for a in $modules; do