[tracker] Fixes GB#580586, FTBFS: undefined reference to `sqlite3_enable_load_extension`
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Fixes GB#580586, FTBFS: undefined reference to `sqlite3_enable_load_extension`
- Date: Wed, 29 Apr 2009 09:56:04 -0400 (EDT)
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]