]> mj.ucw.cz Git - libucw.git/commitdiff
Moved default settings of the UCW library to a separate config file.
authorMartin Mares <mj@ucw.cz>
Thu, 26 Jul 2007 09:46:54 +0000 (11:46 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 26 Jul 2007 09:46:54 +0000 (11:46 +0200)
This config file also contains the master version number.

lib/default.cfg [new file with mode: 0644]

diff --git a/lib/default.cfg b/lib/default.cfg
new file mode 100644 (file)
index 0000000..8a6654e
--- /dev/null
@@ -0,0 +1,35 @@
+# Configuration variables of the UCW library and their default values
+# (c) 2005--2007 Martin Mares <mj@ucw.cz>
+
+# Version of the whole package
+Set("SHERLOCK_VERSION" => "3.12");
+
+# Compile everything with debug information and ASSERT's
+UnSet("CONFIG_DEBUG");
+
+# Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
+UnSet("CONFIG_EXACT_CPU");
+
+# Support files >2GB
+Set("CONFIG_LARGE_FILES");
+
+# Use shared libraries
+UnSet("CONFIG_SHARED");
+
+# If your system doesn't contain GNU libc 2.3 or newer, it's recommended to let Sherlock
+# use its own regex library (a copy of the glibc one), because the default regex library
+# is likely to be crappy.
+Set("CONFIG_OWN_REGEX");
+
+# If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
+# of GNU libc's getopt. This should not be necessary on GNU libc.
+UnSet("CONFIG_OWN_GETOPT");
+
+# Install libraries and their API includes
+UnSet("CONFIG_INSTALL_API");
+
+# Configuration of parts of the UCW library
+Set("CONFIG_UCW_PERL" => 1);
+Set("CONFIG_UCW_PERL_MODULES" => 1);
+Set("CONFIG_UCW_SHELL_UTILS" => 1);
+Set("CONFIG_UCW_THREADS" => 1);