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.0.0, etc.)
9 Set("UCW_ABI_SUFFIX" => "-" . Get("UCW_VERSION"));
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 # In addition to normal static libraries, generate also static libraries
28 # with PIC code (libucw-pic.a and friends).
29 UnSet("CONFIG_STATIC_PIC");
31 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
32 # of GNU libc's getopt. This should not be necessary on GNU libc.
33 UnSet("CONFIG_UCW_OWN_GETOPT");
35 # Install libraries and their API includes
36 UnSet("CONFIG_INSTALL_API");
38 # Build with support for multi-threaded programs
39 Set("CONFIG_UCW_THREADS" => 1);
41 # Include Perl modules
42 Set("CONFIG_UCW_PERL" => 1);
44 # Include Perl modules written in C
45 UnSet("CONFIG_UCW_PERL_MODULES");
47 # Include support utilities for shell scripts
48 Set("CONFIG_UCW_SHELL_UTILS" => 1);
51 Set("CONFIG_UCW_UTILS" => 1);
53 # Include obsolete ucw-daemon-helper utility
54 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
56 # Default configuration file
57 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
59 # Environment variable with configuration file
60 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
62 # Allow use of direct IO on files
63 Set("CONFIG_UCW_DIRECT_IO");
64 Set("CONFIG_UCW_FB_DIRECT");
66 # Use thread-local storage (needs GCC-support, default: auto-detect)
67 # Set("CONFIG_UCW_TLS");
69 # Use epoll (needs support in libc and kernel, default: auto-detect)
70 # Set("CONFIG_UCW_EPOLL");
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);