Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fa86bcaa5072f9cb50b903f1bea87481fbae8932)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fa86bcaa5072f9cb50b903f1bea87481fbae8932)
  • Date: Tue, 28 Aug 2012 04:50:52 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

database/tdb/BUILD | 8 ++++++++
database/tdb/CONFIGURE | 6 +++++-
database/tdb/HISTORY | 3 +++
3 files changed, 16 insertions(+), 1 deletion(-)

New commits:
commit fa86bcaa5072f9cb50b903f1bea87481fbae8932
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

tdb: added special options for compiling

diff --git a/database/tdb/BUILD b/database/tdb/BUILD
index d716b62..205b08d 100755
--- a/database/tdb/BUILD
+++ b/database/tdb/BUILD
@@ -1,3 +1,11 @@
OPTS="$TDB_OPTS $OPTS" &&

+if [[ $TDB_MMAP == y ]]; then
+ CFLAGS="-DHAVE_MMAP=1 $CFLAGS"
+fi &&
+
+if [[ $TDB_NOLOCK == y ]]; then
+ CFLAGS="-DNOLOCK=1 $CFLAGS"
+fi &&
+
default_build
diff --git a/database/tdb/CONFIGURE b/database/tdb/CONFIGURE
index 28acc73..7cb0d5c 100755
--- a/database/tdb/CONFIGURE
+++ b/database/tdb/CONFIGURE
@@ -1,2 +1,6 @@
config_query_option TDB_OPTS "Build pytdb module?" y \
- "" "--disable-python"
+ "" "--disable-python" &&
+
+config_query TDB_MMAP "Use mmap instead of read/write?" n &&
+
+config_query TDB_NOLOCK "Disable locking code?" n
diff --git a/database/tdb/HISTORY b/database/tdb/HISTORY
index afc84f5..c50eb43 100644
--- a/database/tdb/HISTORY
+++ b/database/tdb/HISTORY
@@ -1,3 +1,6 @@
+2012-08-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFIGURE, BUILD: added special options for compiling
+
2012-05-13 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.2.10




  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fa86bcaa5072f9cb50b903f1bea87481fbae8932), Vlad Glagolev, 08/28/2012

Archive powered by MHonArc 2.6.24.

Top of Page