]> mj.ucw.cz Git - libucw.git/blob - ucw/default.cfg
c5c1565a0b0c73f693223c779706cf84d6b28807
[libucw.git] / ucw / default.cfg
1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2012 Martin Mares <mj@ucw.cz>
3
4 # Version of the whole package
5 Set("UCW_VERSION" => "5.0-dev");
6 Set("UCW_VERSION_CODE" => 5000000);
7
8 # Compile everything with debug information and ASSERT's
9 UnSet("CONFIG_DEBUG");
10
11 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
12 UnSet("CONFIG_EXACT_CPU");
13
14 # Support files >2GB
15 Set("CONFIG_UCW_LARGE_FILES");
16
17 # Use shared libraries
18 UnSet("CONFIG_SHARED");
19
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");
23
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_UCW_OWN_GETOPT");
27
28 # Install libraries and their API includes
29 UnSet("CONFIG_INSTALL_API");
30
31 # Build with support for multi-threaded programs
32 Set("CONFIG_UCW_THREADS" => 1);
33
34 # Include Perl modules
35 Set("CONFIG_UCW_PERL" => 1);
36
37 # Include Perl modules written in C
38 UnSet("CONFIG_UCW_PERL_MODULES");
39
40 # Include support utilities for shell scripts
41 Set("CONFIG_UCW_SHELL_UTILS" => 1);
42
43 # Include utilities
44 Set("CONFIG_UCW_UTILS" => 1);
45
46 # Include obsolete daemon-helper utility
47 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
48
49 # Default configuration file
50 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
51
52 # Environment variable with configuration file
53 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
54
55 # Allow use of direct IO on files
56 Set("CONFIG_UCW_DIRECT_IO");
57 Set("CONFIG_UCW_FB_DIRECT");
58
59 # Use thread-local storage (needs GCC-support, default: auto-detect)
60 # Set("CONFIG_UCW_TLS");
61
62 # Use epoll (needs support in libc and kernel, default: auto-detect)
63 # Set("CONFIG_UCW_EPOLL");
64
65 # Use monotonic clock (default: yes on Linux, no elsewhere)
66 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
67
68 # Which regular expression library should be used? If none is selected, we use BSD regex from libc.
69 UnSet("CONFIG_UCW_POSIX_REGEX");
70 UnSet("CONFIG_UCW_PCRE");
71
72 # Compile tools used for debugging and testing of LibUCW
73 UnSet("CONFIG_UCW_DEBUG_TOOLS");
74
75 # Clean up library ABI by attaching "ucw_" prefix to all externally visible symbols
76 Set("CONFIG_UCW_CLEAN_ABI" => 1);
77
78 # Return success
79 1;