1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2015 Martin Mares <mj@ucw.cz>
4 # Version of the whole package
5 Set("UCW_VERSION" => "6.5.7");
6 Set("UCW_VERSION_CODE" => 6005007);
8 # Name of libraries in packages (libucw$UCW_ABI_SUFFIX.so.0.0, etc.)
9 Set("UCW_ABI_SUFFIX" => "-6.5");
11 # Compile everything with debug information and ASSERT's
12 UnSet("CONFIG_DEBUG");
14 # Environment variable with a switch to abort() on die().
15 # Any non-empty value of the variable turns this feature on.
16 Set("CONFIG_UCW_ENV_VAR_DIE_BY_ABORT" => "UCW_DIE_BY_ABORT");
18 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
19 UnSet("CONFIG_EXACT_CPU");
22 Set("CONFIG_UCW_LARGE_FILES");
24 # Use shared libraries
25 UnSet("CONFIG_SHARED");
27 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
28 # of GNU libc's getopt. This should not be necessary on GNU libc.
29 UnSet("CONFIG_UCW_OWN_GETOPT");
31 # Install libraries and their API includes
32 UnSet("CONFIG_INSTALL_API");
34 # Build with support for multi-threaded programs
35 Set("CONFIG_UCW_THREADS" => 1);
37 # Include Perl modules
38 Set("CONFIG_UCW_PERL" => 1);
40 # Include Perl modules written in C
41 UnSet("CONFIG_UCW_PERL_MODULES");
43 # Include support utilities for shell scripts
44 Set("CONFIG_UCW_SHELL_UTILS" => 1);
47 Set("CONFIG_UCW_UTILS" => 1);
49 # Include obsolete ucw-daemon-helper utility
50 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
52 # Default configuration file
53 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
55 # Environment variable with configuration file
56 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
58 # Allow use of direct IO on files
59 Set("CONFIG_UCW_DIRECT_IO");
60 Set("CONFIG_UCW_FB_DIRECT");
62 # Use thread-local storage (needs GCC-support, default: auto-detect)
63 # Set("CONFIG_UCW_TLS");
65 # Use epoll (needs support in libc and kernel, default: auto-detect)
66 # Set("CONFIG_UCW_EPOLL");
68 # Use monotonic clock (default: yes on Linux, no elsewhere)
69 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
71 # Which regular expression library should be used? If none is selected, we use BSD regex from libc.
72 UnSet("CONFIG_UCW_POSIX_REGEX");
73 UnSet("CONFIG_UCW_PCRE");
75 # Compile tools used for debugging and testing of LibUCW
76 UnSet("CONFIG_UCW_DEBUG_TOOLS");
78 # Clean up library ABI by attaching "ucw_" prefix to all externally visible symbols
79 Set("CONFIG_UCW_CLEAN_ABI" => 1);