1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2012 Martin Mares <mj@ucw.cz>
4 # Version of the whole package
5 Set("UCW_VERSION" => "5.0-dev");
6 Set("UCW_VERSION_CODE" => 5000000);
7 Set("UCW_ABI_VERSION" => "5.0");
9 # Compile everything with debug information and ASSERT's
10 UnSet("CONFIG_DEBUG");
12 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
13 UnSet("CONFIG_EXACT_CPU");
16 Set("CONFIG_UCW_LARGE_FILES");
18 # Use shared libraries
19 UnSet("CONFIG_SHARED");
21 # In addition to normal static libraries, generate also static libraries
22 # with PIC code (libucw-pic.a and friends).
23 UnSet("CONFIG_STATIC_PIC");
25 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
26 # of GNU libc's getopt. This should not be necessary on GNU libc.
27 UnSet("CONFIG_UCW_OWN_GETOPT");
29 # Install libraries and their API includes
30 UnSet("CONFIG_INSTALL_API");
32 # Build with support for multi-threaded programs
33 Set("CONFIG_UCW_THREADS" => 1);
35 # Include Perl modules
36 Set("CONFIG_UCW_PERL" => 1);
38 # Include Perl modules written in C
39 UnSet("CONFIG_UCW_PERL_MODULES");
41 # Include support utilities for shell scripts
42 Set("CONFIG_UCW_SHELL_UTILS" => 1);
45 Set("CONFIG_UCW_UTILS" => 1);
47 # Include obsolete daemon-helper utility
48 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
50 # Default configuration file
51 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
53 # Environment variable with configuration file
54 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
56 # Allow use of direct IO on files
57 Set("CONFIG_UCW_DIRECT_IO");
58 Set("CONFIG_UCW_FB_DIRECT");
60 # Use thread-local storage (needs GCC-support, default: auto-detect)
61 # Set("CONFIG_UCW_TLS");
63 # Use epoll (needs support in libc and kernel, default: auto-detect)
64 # Set("CONFIG_UCW_EPOLL");
66 # Use monotonic clock (default: yes on Linux, no elsewhere)
67 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
69 # Which regular expression library should be used? If none is selected, we use BSD regex from libc.
70 UnSet("CONFIG_UCW_POSIX_REGEX");
71 UnSet("CONFIG_UCW_PCRE");
73 # Compile tools used for debugging and testing of LibUCW
74 UnSet("CONFIG_UCW_DEBUG_TOOLS");