[Lunar-commits] <moonbase> sqlite: Adnother little twiddle here to add to select SQLITE_ENABLE_UNLOCK_NOTIFY.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon Dec 13 01:47:53 CET 2010


commit c6f43f43de5312edbe0d34e42962d19bf58aee05
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Dec 12 19:47:53 2010 -0500

    sqlite: Adnother little twiddle here to add to select SQLITE_ENABLE_UNLOCK_NOTIFY.
---
 sql/sqlite/BUILD     |    4 ++++
 sql/sqlite/CONFIGURE |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/sql/sqlite/BUILD b/sql/sqlite/BUILD
index 584fdd8..4b53412 100644
--- a/sql/sqlite/BUILD
+++ b/sql/sqlite/BUILD
@@ -8,6 +8,10 @@
     CFLAGS="-DSQLITE_SECURE_DELETE"
   fi &&
 
+  if [ $USE_UNLOCK == "y" ] ; then
+    CFLAGS="-DSQLITE_ENABLE_UNLOCK_NOTIFY"
+  fi &&
+
   default_build  &&
   install -m 644 $SCRIPT_DIRECTORY/sqlite3.1 /usr/share/man/man1
 
diff --git a/sql/sqlite/CONFIGURE b/sql/sqlite/CONFIGURE
index d062ad0..af7045b 100644
--- a/sql/sqlite/CONFIGURE
+++ b/sql/sqlite/CONFIGURE
@@ -1,3 +1,4 @@
 mquery USE_THRED "Enable threadsafe operation?" y "--enable-threadsafe" "--disable-threadsafe"
 mquery USE_SEC_DEL "Enable secure delete operations? (Needed by xulrunner)" y
 mquery USE_EXTENT "Support loadable extensions?" y "--enable-dynamic-extensions" "--disable-dynamic-extensions"
+mquery USE_UNLOCK "Enable Unlock Notify support? (can be used by libzdb)" y


More information about the Lunar-commits mailing list