# 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
+# Enable GCC link-time optimizations (experimental)
+UnSet("CONFIG_LTO");
+
+# LibUCW should support files >2GB and threading
Set("CONFIG_UCW_LARGE_FILES");
Set("CONFIG_UCW_THREADS" => 1);
Set("CONFIG_UCW_SHELL_UTILS" => 1);
Set("CONFIG_UCW_UTILS" => 1);
-# Libimages settings
-Set("CONFIG_IMAGES");
+# Libucw-images settings
+UnSet("CONFIG_IMAGES");
Set("CONFIG_IMAGES_LIBJPEG");
Set("CONFIG_IMAGES_LIBPNG");
-Set("CONFIG_IMAGES_LIBUNGIF");
-UnSet("CONFIG_IMAGES_LIBGIF");
+UnSet("CONFIG_IMAGES_LIBUNGIF");
+Set("CONFIG_IMAGES_LIBGIF");
UnSet("CONFIG_IMAGES_LIBMAGICK");
-# Libcharset
+# Libucw-charset
Set("CONFIG_CHARSET");
+Set("CONFIG_CHARSET_UTILS");
+
+# Libucw-xml
+Set("CONFIG_XML");
-# Libshxml
-Set("CONFIG_SHXML");
+# Libucw-json
+Set("CONFIG_JSON");
# Return success
1;