From 9db287b6c56a2ba8963d800b1230a1bb633f4241 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 26 Jul 2007 11:46:54 +0200 Subject: [PATCH] Moved default settings of the UCW library to a separate config file. This config file also contains the master version number. --- lib/default.cfg | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lib/default.cfg diff --git a/lib/default.cfg b/lib/default.cfg new file mode 100644 index 00000000..8a6654ed --- /dev/null +++ b/lib/default.cfg @@ -0,0 +1,35 @@ +# Configuration variables of the UCW library and their default values +# (c) 2005--2007 Martin Mares + +# 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); -- 2.39.2