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);
8 # Name of libraries in packages (libucw$UCW_ABI_SUFFIX.so.$UCW_ABI_VERSION, etc.)
9 Set("UCW_ABI_SUFFIX" => "-" . Get("UCW_VERSION"));
10 Set("UCW_ABI_VERSION" => "0.0");
12 # Compile everything with debug information and ASSERT's
13 UnSet("CONFIG_DEBUG");
15 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
16 UnSet("CONFIG_EXACT_CPU");
19 Set("CONFIG_UCW_LARGE_FILES");
21 # Use shared libraries
22 UnSet("CONFIG_SHARED");
24 # In addition to normal static libraries, generate also static libraries
25 # with PIC code (libucw-pic.a and friends).
26 UnSet("CONFIG_STATIC_PIC");
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 monotonic clock (default: yes on Linux, no elsewhere)
70 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
72 # Which regular expression library should be used? If none is selected, we use BSD regex from libc.
73 UnSet("CONFIG_UCW_POSIX_REGEX");
74 UnSet("CONFIG_UCW_PCRE");
76 # Compile tools used for debugging and testing of LibUCW
77 UnSet("CONFIG_UCW_DEBUG_TOOLS");