2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is
	detected properly.
	* m4/sqlite3.m4
pull/1/head
Tatsuhiro Tsujikawa 2009-08-09 06:56:28 +00:00
parent 611eadf85d
commit 942990354f
2 changed files with 4 additions and 0 deletions

2
configure vendored
View File

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

View File

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