]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/default.cfg
Opt: exit() does not return, no need to call va_end() afterwards
[libucw.git] / ucw / default.cfg
index 0b643184f0bbc20c888ea82596548bbc1949e258..538d1c60cb5889b0a3614b359dcc2bd430e78768 100644 (file)
@@ -4,11 +4,17 @@
 # Version of the whole package
 Set("UCW_VERSION" => "5.0-dev");
 Set("UCW_VERSION_CODE" => 5000000);
-Set("UCW_ABI_VERSION" => Get("UCW_VERSION_CODE") . ".0");
+
+# Name of libraries in packages (libucw$UCW_ABI_SUFFIX.so.0.0, etc.)
+Set("UCW_ABI_SUFFIX" => "-" . Get("UCW_VERSION"));
 
 # Compile everything with debug information and ASSERT's
 UnSet("CONFIG_DEBUG");
 
+# Environment variable with a switch to abort() on die().
+# Any non-empty value of the variable turns this feature on.
+Set("CONFIG_UCW_ENV_VAR_DIE_BY_ABORT" => "UCW_DIE_BY_ABORT");
+
 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
 UnSet("CONFIG_EXACT_CPU");
 
@@ -73,5 +79,8 @@ UnSet("CONFIG_UCW_PCRE");
 # Compile tools used for debugging and testing of LibUCW
 UnSet("CONFIG_UCW_DEBUG_TOOLS");
 
+# Clean up library ABI by attaching "ucw_" prefix to all externally visible symbols
+Set("CONFIG_UCW_CLEAN_ABI" => 1);
+
 # Return success
 1;