Index: configure.ac =================================================================== --- configure.ac (revision 48229) +++ configure.ac (working copy) @@ -1156,7 +1156,7 @@ have_db="SQLite v3.x" saved_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $SQLITE3_CPPFLAGS $SQLITE3_LDFLAGS" + CPPFLAGS="$CPPFLAGS $SQLITE3_CPPFLAGS $SQLITE3_LDFLAGS $SQLITE3_LIBS" AC_MSG_CHECKING([for function sqlite3_open_v2() in sqlite3.h]) AC_TRY_LINK([#include ],