[tracker] Fixes GB#580586, FTBFS: undefined reference to `sqlite3_enable_load_extension`



commit 4ede8e354939c448ecc0b11c4447542138aac524
Author: Yavor Doganov <yavor gnu org>
Date:   Tue Apr 28 13:19:00 2009 +0100

    Fixes GB#580586, FTBFS: undefined reference to `sqlite3_enable_load_extension`
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2072d2b..b7c572c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -577,7 +577,8 @@ fi
 SQLITE_REQUIRED=3.5
 
 PKG_CHECK_MODULES(SQLITE3, [sqlite3 >= $SQLITE_REQUIRED])
-
+AC_CHECK_LIB([sqlite3], [sqlite3_enable_load_extension], [:],
+  [AC_MSG_ERROR([SQLite must be configured with --enable-load-extenstion.])])
 AC_SUBST(SQLITE3_CFLAGS)
 AC_SUBST(SQLITE3_LIBS)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]