From 942990354f671a7235b8325f69730d3e4a153119 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 9 Aug 2009 06:56:28 +0000 Subject: [PATCH] 2009-08-09 Tatsuhiro Tsujikawa Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is detected properly. * m4/sqlite3.m4 --- configure | 2 ++ m4/sqlite3.m4 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 12808b9c..c40ec949 100755 --- a/configure +++ b/configure @@ -6401,6 +6401,8 @@ fi fi fi if test "x$have_sqlite3" = "xyes"; then + LIBS="$SQLITE3_LIBS" + CPPFLAGS="$SQLITE3_CFLAGS" for ac_func in sqlite3_open_v2 do diff --git a/m4/sqlite3.m4 b/m4/sqlite3.m4 index 4a9c9de3..6b260854 100644 --- a/m4/sqlite3.m4 +++ b/m4/sqlite3.m4 @@ -29,6 +29,8 @@ if test "x$have_sqlite3" != "xyes"; then fi fi if test "x$have_sqlite3" = "xyes"; then + LIBS="$SQLITE3_LIBS $LIBS" + CPPFLAGS="$SQLITE3_CFLAGS $CPPFLAGS" AC_CHECK_FUNCS([sqlite3_open_v2]) AC_DEFINE([HAVE_SQLITE3], [1], [Define to 1 if you have sqlite3.]) AC_SUBST(SQLITE3_LIBS)