diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-30 13:08:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-30 13:08:56 +0200 |
commit | 647492377897cf3b7d112d99e9a961a0f786a6b8 (patch) | |
tree | 895d94459e9cff28a0dba4fe6e3741257cee93ba /configure.ac | |
parent | adc42a1c2661f0900345dd8a7c84879f76395651 (diff) |
Add autotools test for SQLite unlock notify feature
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c99dab6..269564d 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,12 @@ LIBSQLITE( [], [AC_MSG_ERROR([libsqlite3 is not found; consider using CPPFLAGS/LDFLAGS to specify its location])]) +AS_IF([test x$libsqlite_unlock_notify = xyes], +AC_DEFINE([LIBODB_SQLITE_HAVE_UNLOCK_NOTIFY], [1], [Have sqlite3_unlock_notify.])) + +AS_IF([test x$threads != xnone -a x$libsqlite_unlock_notify = xno], +AC_MSG_WARN([libsqlite3 is built without sqlite3_unlock_notify support; multi-threaded support will be limited])) + # Check for libodb. # LIBODB([],[AC_MSG_ERROR([libodb is not found; consider using --with-libodb=DIR])]) |