1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2015 Martin Mares <mj@ucw.cz>
3 # (c) 2020--2024 Pavel Charvat <pchar@ucw.cz>
5 # Version of the whole package
6 Set("UCW_VERSION" => "6.5.16");
7 Set("UCW_VERSION_CODE" => 6005016);
9 # Name of libraries in packages (libucw$UCW_ABI_SUFFIX.so.0.0, etc.)
10 Set("UCW_ABI_SUFFIX" => "-6.5");
12 # Compile everything with debug information and ASSERT's
13 UnSet("CONFIG_DEBUG");
15 # Environment variable with a switch to abort() on die().
16 # Any non-empty value of the variable turns this feature on.
17 Set("CONFIG_UCW_ENV_VAR_DIE_BY_ABORT" => "UCW_DIE_BY_ABORT");
19 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
20 UnSet("CONFIG_EXACT_CPU");
23 Set("CONFIG_UCW_LARGE_FILES");
25 # Use shared libraries
26 UnSet("CONFIG_SHARED");
28 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
29 # of GNU libc's getopt. This should not be necessary on GNU libc.
30 UnSet("CONFIG_UCW_OWN_GETOPT");
32 # Install libraries and their API includes
33 UnSet("CONFIG_INSTALL_API");
35 # Build with support for multi-threaded programs
36 Set("CONFIG_UCW_THREADS" => 1);
38 # Include Perl modules
39 Set("CONFIG_UCW_PERL" => 1);
41 # Include Perl modules written in C
42 UnSet("CONFIG_UCW_PERL_MODULES");
44 # Include support utilities for shell scripts
45 Set("CONFIG_UCW_SHELL_UTILS" => 1);
48 Set("CONFIG_UCW_UTILS" => 1);
50 # Include obsolete ucw-daemon-helper utility
51 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
53 # Default configuration file
54 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
56 # Environment variable with configuration file
57 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
59 # Allow use of direct IO on files
60 Set("CONFIG_UCW_DIRECT_IO");
61 Set("CONFIG_UCW_FB_DIRECT");
63 # Use thread-local storage (needs GCC-support, default: auto-detect)
64 # Set("CONFIG_UCW_TLS");
66 # Use epoll (needs support in libc and kernel, default: auto-detect)
67 # Set("CONFIG_UCW_EPOLL");
69 # Use getrandom (needs support in libc and kernel, default: auto-detect)
70 # Set("CONFIG_UCW_GETRANDOM");
72 # Use monotonic clock (default: yes on Linux, no elsewhere)
73 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
75 # Which regular expression library should be used? If none is selected, we use BSD regex from libc.
76 UnSet("CONFIG_UCW_POSIX_REGEX");
77 UnSet("CONFIG_UCW_PCRE");
79 # Compile tools used for debugging and testing of LibUCW
80 UnSet("CONFIG_UCW_DEBUG_TOOLS");
82 # Clean up library ABI by attaching "ucw_" prefix to all externally visible symbols
83 Set("CONFIG_UCW_CLEAN_ABI" => 1);