X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=free%2Flibs%2Fdefault.cfg;h=be9f0a3b3ec6e20e6316a838c99810a7a96a1e9b;hb=642f0a819012e20452319eeea4321a75035d48f8;hp=eb60cd3e21a7adbf3e10af892443a1213be03713;hpb=a9a21e8dbd6782e71283171be9ddc0d908c69626;p=libucw.git diff --git a/free/libs/default.cfg b/free/libs/default.cfg index eb60cd3e..be9f0a3b 100644 --- a/free/libs/default.cfg +++ b/free/libs/default.cfg @@ -16,21 +16,28 @@ Set("CONFIG_UCW_PERL_MODULES" => 1); Set("CONFIG_UCW_SHELL_UTILS" => 1); Set("CONFIG_UCW_UTILS" => 1); -# Libsh settings -Set("CONFIG_BUCKET_SHIFT" => 6); - -# Liblang settings -Set("CONFIG_LANG"); -Set("MAX_WORD_CHARS" => 64); -Set("MAX_WORD_BYTES" => 192); - -# Libimages settings -Set("CONFIG_IMAGES"); -Set("CONFIG_IMAGES_LIBJPEG"); -Set("CONFIG_IMAGES_LIBPNG"); -Set("CONFIG_IMAGES_LIBUNGIF"); -UnSet("CONFIG_IMAGES_LIBGIF"); -UnSet("CONFIG_IMAGES_LIBMAGICK"); +if(!IsSet("CONFIG_UCW_ONLY")) { + # Libsh settings + Set("CONFIG_BUCKET_SHIFT" => 6); + Set("CONFIG_SHERLOCK_LIB"); + + if(!IsGiven("CONFIG_CHARSET") || IsSet("CONFIG_CHARSET")) { + # Liblang settings + Set("CONFIG_LIBLANG"); + Set("MAX_WORD_CHARS" => 64); + Set("MAX_WORD_BYTES" => 192); + } + + # Libimages settings + Set("CONFIG_IMAGES"); + Set("CONFIG_IMAGES_LIBJPEG"); + Set("CONFIG_IMAGES_LIBPNG"); + Set("CONFIG_IMAGES_LIBUNGIF"); + UnSet("CONFIG_IMAGES_LIBGIF"); + UnSet("CONFIG_IMAGES_LIBMAGICK"); + + Set("CONFIG_CHARSET"); +} # Return success 1;