From 0760668552a05a25bc09055ca35b0585c206fd25 Mon Sep 17 00:00:00 2001 From: dsmith Date: Mon, 28 Jan 2008 15:08:58 +0000 Subject: 2008-01-28 David Smith PR 5685. From Eugeniy Meshcheryakov * configure.ac: If "--enable-sqlite" is specified, define HAVE_LIBSQLITE3. * configure: Regenerated. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f5fcc968..8ce6da11 100644 --- a/configure.ac +++ b/configure.ac @@ -85,7 +85,8 @@ AC_ARG_ENABLE([sqlite], sqlite3_LIBS= AS_IF([test "x$enable_sqlite" != xno], [AC_CHECK_LIB([sqlite3], [sqlite3_open], - [AC_SUBST([sqlite3_LIBS], [-lsqlite3])], + [AC_SUBST([sqlite3_LIBS], [-lsqlite3]) + AC_DEFINE([HAVE_LIBSQLITE3])], [if test "x$enable_sqlite" != xcheck; then AC_MSG_FAILURE([--enable-sqlite was given, but test for sqlite failed]) fi])]) -- cgit