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



commit e3aa031c485d665b6d345ff8ae6e56640ded1fae
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 259b191..0fd1238 100644
--- a/configure.ac
+++ b/configure.ac
@@ -572,7 +572,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]