]> mj.ucw.cz Git - libucw.git/blobdiff - default.cfg
Removed obsolete lfs-test
[libucw.git] / default.cfg
index 3ed4af896f0823fc59976731e9defe0c964326b2..1b387ca6de0593f3040b23cec39ba2b32852f492 100644 (file)
@@ -4,32 +4,41 @@
 # Do we want shared or static libraries?
 Set("CONFIG_SHARED");
 
+# Include debugging code
+Set("CONFIG_DEBUG");
+
 # We want the public API
 Set("CONFIG_INSTALL_API");
 
-# Libucw should support files >2GB and threading
-Set("CONFIG_LARGE_FILES");
+# LibUCW should support files >2GB and threading
+Set("CONFIG_UCW_LARGE_FILES");
 Set("CONFIG_UCW_THREADS" => 1);
 
-# Libucw extensions
-Set("CONFIG_UCW_PERL" => 1);
-Set("CONFIG_UCW_PERL_MODULES" => 1);
-Set("CONFIG_UCW_SHELL_UTILS" => 1);
-Set("CONFIG_UCW_UTILS" => 1);
-
-# 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");
-
-# Libcharset
-Set("CONFIG_CHARSET");
-
-# Libshxml
-Set("CONFIG_SHXML");
+# Build only LibUCW itself
+UnSet("CONFIG_UCW_ONLY");
+
+unless (Get("CONFIG_UCW_ONLY")) {
+       # Libucw extensions
+       Set("CONFIG_UCW_PERL" => 1);
+       Set("CONFIG_UCW_PERL_MODULES" => 1);
+       Set("CONFIG_UCW_SHELL_UTILS" => 1);
+       Set("CONFIG_UCW_UTILS" => 1);
+
+       # 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");
+
+       # Libcharset
+       Set("CONFIG_CHARSET");
+       Set("CONFIG_CHARSET_UTILS");
+
+       # Libshxml
+       Set("CONFIG_SHXML");
+}
 
 # Return success
 1;