aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-27 18:34:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-27 18:34:18 +0200
commit8c41d647fab4dfbd0a9979514f95431dfc19e00b (patch)
tree55a1634b0ccaf337ee12dc54d5b11f6c4bb4f391 /configure.ac
parent4e31e3dcf3efcc20ca3aee6f888fe3ec56ba78e3 (diff)
Detect if column metadata functions are available
For example, system-default build of SQLite doesn't have SQLITE_ENABLE_COLUMN_METADATA.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4e9b4a5..40c84e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,6 +37,9 @@ LIBSQLITE(
AS_IF([test x$libsqlite_unlock_notify = xyes],
AC_DEFINE([LIBODB_SQLITE_HAVE_UNLOCK_NOTIFY], [1], [Have sqlite3_unlock_notify.]))
+AS_IF([test x$libsqlite_column_metadata = xyes],
+AC_DEFINE([LIBODB_SQLITE_HAVE_COLUMN_METADATA], [1], [Have column metadata functions.]))
+
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]))