From 8c41d647fab4dfbd0a9979514f95431dfc19e00b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 27 Jan 2016 18:34:18 +0200 Subject: Detect if column metadata functions are available For example, system-default build of SQLite doesn't have SQLITE_ENABLE_COLUMN_METADATA. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') 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])) -- cgit v1.1