diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1d4b4f924..1ce53edc6 100644 --- a/configure.in +++ b/configure.in @@ -684,6 +684,15 @@ if test x$sqlite = xtrue; then void *test = sqlite3_prepare_v2; ], [AC_MSG_RESULT([yes])]; AC_DEFINE_UNQUOTED(HAVE_SQLITE3_PREPARE_V2, 1), [AC_MSG_RESULT([no])]) + AC_MSG_CHECKING([sqlite3.h version >= 3.3.1]) + AC_TRY_COMPILE( + [#include <sqlite3.h>], + [ + #if SQLITE_VERSION_NUMBER < 3003001 + #error bad sqlite + #endif + ], + [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([SQLite version >= 3.3.1 required!])]) fi if test x$openssl = xtrue; then |