]> mj.ucw.cz Git - libucw.git/blob - ucw/default.cfg
a13c47bffb7c610aa6762876c516285999b0131e
[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 # 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");
11
12 # Compile everything with debug information and ASSERT's
13 UnSet("CONFIG_DEBUG");
14
15 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
16 UnSet("CONFIG_EXACT_CPU");
17
18 # Support files >2GB
19 Set("CONFIG_UCW_LARGE_FILES");
20
21 # Use shared libraries
22 UnSet("CONFIG_SHARED");
23
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");
27
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");
31
32 # Install libraries and their API includes
33 UnSet("CONFIG_INSTALL_API");
34
35 # Build with support for multi-threaded programs
36 Set("CONFIG_UCW_THREADS" => 1);
37
38 # Include Perl modules
39 Set("CONFIG_UCW_PERL" => 1);
40
41 # Include Perl modules written in C
42 UnSet("CONFIG_UCW_PERL_MODULES");
43
44 # Include support utilities for shell scripts
45 Set("CONFIG_UCW_SHELL_UTILS" => 1);
46
47 # Include utilities
48 Set("CONFIG_UCW_UTILS" => 1);
49
50 # Include obsolete ucw-daemon-helper utility
51 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
52
53 # Default configuration file
54 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
55
56 # Environment variable with configuration file
57 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
58
59 # Allow use of direct IO on files
60 Set("CONFIG_UCW_DIRECT_IO");
61 Set("CONFIG_UCW_FB_DIRECT");
62
63 # Use thread-local storage (needs GCC-support, default: auto-detect)
64 # Set("CONFIG_UCW_TLS");
65
66 # Use epoll (needs support in libc and kernel, default: auto-detect)
67 # Set("CONFIG_UCW_EPOLL");
68
69 # Use monotonic clock (default: yes on Linux, no elsewhere)
70 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
71
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");
75
76 # Compile tools used for debugging and testing of LibUCW
77 UnSet("CONFIG_UCW_DEBUG_TOOLS");
78
79 # Return success
80 1;