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 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
21 # of GNU libc's getopt. This should not be necessary on GNU libc.
22 UnSet("CONFIG_OWN_GETOPT");
24 # Install libraries and their API includes
25 UnSet("CONFIG_INSTALL_API");
27 # Build with support for multi-threaded programs
28 Set("CONFIG_UCW_THREADS" => 1);
30 # Include Perl modules
31 Set("CONFIG_UCW_PERL" => 1);
33 # Include Perl modules written in C
34 UnSet("CONFIG_UCW_PERL_MODULES");
36 # Include support utilities for shell scripts
37 Set("CONFIG_UCW_SHELL_UTILS" => 1);
40 Set("CONFIG_UCW_UTILS" => 1);
42 # Default configuration file
43 UnSet("DEFAULT_CONFIG");
45 # Environment variable with configuration file
46 UnSet("ENV_VAR_CONFIG");
48 # Use obsolete URL escaping rules (if you need behavior identical to the older versions of libucw)
49 UnSet("CONFIG_URL_ESCAPE_COMPAT");
51 # Allow use of direct IO on files
52 Set("CONFIG_DIRECT_IO");
53 Set("CONFIG_UCW_FB_DIRECT");
55 # Use thread-local storage (needs GCC-support, default: auto-detect)
56 # Set("CONFIG_UCW_TLS");