]> mj.ucw.cz Git - libucw.git/commitdiff
Introduced new switch CONFIG_SHERLOCK which can
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Sun, 10 Sep 2006 18:39:08 +0000 (20:39 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Sun, 10 Sep 2006 18:39:08 +0000 (20:39 +0200)
be used to disable Sherlock compilation.

Command
  ./configure lib/config
builds only libucw, libcharset and part of libsh.

lib/config/Makefile [new file with mode: 0644]
lib/config/config [new file with mode: 0644]

diff --git a/lib/config/Makefile b/lib/config/Makefile
new file mode 100644 (file)
index 0000000..2a28d2d
--- /dev/null
@@ -0,0 +1 @@
+# Stub Makefile for custom modules
diff --git a/lib/config/config b/lib/config/config
new file mode 100644 (file)
index 0000000..8dade09
--- /dev/null
@@ -0,0 +1,22 @@
+# Libraries configuration (libucw, libcharset, libsh)
+
+Set("CUSTOM_DIR" => "lib/config");
+
+UnSet("CONFIG_SHERLOCK");
+UnSet("CONFIG_GATHERD");
+UnSet("CONFIG_INDEXER");
+UnSet("CONFIG_SEARCH");
+UnSet("CONFIG_LARGE_DB");
+UnSet("CONFIG_LASTMOD");
+UnSet("CONFIG_FILETYPE");
+UnSet("CONFIG_LANG");
+UnSet("CONFIG_SPELL");
+UnSet("CONFIG_MAX_CONTEXTS");
+UnSet("CONFIG_32BIT_REFERENCES");
+Set("DEFAULT_CONFIG" => "cf/library");
+
+# Keep turned on if debugging
+Set("CONFIG_DEBUG");
+
+# Return success
+1;