1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2010 Martin Mares <mj@ucw.cz>
4 # Version of the whole package
5 Set("UCW_VERSION" => "4.0.1-dev");
6 Set("UCW_VERSION_CODE" => 4000001);
8 # Compile everything with debug information and ASSERT's
11 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
12 UnSet("CONFIG_EXACT_CPU");
15 Set("CONFIG_LARGE_FILES");
17 # Use shared libraries
18 UnSet("CONFIG_SHARED");
20 # In addition to normal static libraries, generate also static libraries
21 # with PIC code (libucw-pic.a and friends).
22 UnSet("CONFIG_STATIC_PIC");
24 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
25 # of GNU libc's getopt. This should not be necessary on GNU libc.
26 UnSet("CONFIG_OWN_GETOPT");
28 # Install libraries and their API includes
29 UnSet("CONFIG_INSTALL_API");
31 # Build with support for multi-threaded programs
32 Set("CONFIG_UCW_THREADS" => 1);
34 # Include Perl modules
35 Set("CONFIG_UCW_PERL" => 1);
37 # Include Perl modules written in C
38 UnSet("CONFIG_UCW_PERL_MODULES");
40 # Include support utilities for shell scripts
41 Set("CONFIG_UCW_SHELL_UTILS" => 1);
44 Set("CONFIG_UCW_UTILS" => 1);
46 # Default configuration file
47 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
49 # Environment variable with configuration file
50 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
52 # Allow use of direct IO on files
53 Set("CONFIG_UCW_DIRECT_IO");
54 Set("CONFIG_UCW_FB_DIRECT");
56 # Use thread-local storage (needs GCC-support, default: auto-detect)
57 # Set("CONFIG_UCW_TLS");
59 # Use epoll (needs support in libc and kernel, default: auto-detect)
60 # Set("CONFIG_UCW_EPOLL");