]> mj.ucw.cz Git - libucw.git/blob - ucw/default.cfg
ec8feabb3ad87ecf87c8a4cce14cda95cb484add
[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 Set("UCW_ABI_VERSION" => "5.0");
8
9 # Compile everything with debug information and ASSERT's
10 UnSet("CONFIG_DEBUG");
11
12 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
13 UnSet("CONFIG_EXACT_CPU");
14
15 # Support files >2GB
16 Set("CONFIG_UCW_LARGE_FILES");
17
18 # Use shared libraries
19 UnSet("CONFIG_SHARED");
20
21 # In addition to normal static libraries, generate also static libraries
22 # with PIC code (libucw-pic.a and friends).
23 UnSet("CONFIG_STATIC_PIC");
24
25 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
26 # of GNU libc's getopt. This should not be necessary on GNU libc.
27 UnSet("CONFIG_UCW_OWN_GETOPT");
28
29 # Install libraries and their API includes
30 UnSet("CONFIG_INSTALL_API");
31
32 # Build with support for multi-threaded programs
33 Set("CONFIG_UCW_THREADS" => 1);
34
35 # Include Perl modules
36 Set("CONFIG_UCW_PERL" => 1);
37
38 # Include Perl modules written in C
39 UnSet("CONFIG_UCW_PERL_MODULES");
40
41 # Include support utilities for shell scripts
42 Set("CONFIG_UCW_SHELL_UTILS" => 1);
43
44 # Include utilities
45 Set("CONFIG_UCW_UTILS" => 1);
46
47 # Include obsolete ucw-daemon-helper utility
48 UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER");
49
50 # Default configuration file
51 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
52
53 # Environment variable with configuration file
54 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
55
56 # Allow use of direct IO on files
57 Set("CONFIG_UCW_DIRECT_IO");
58 Set("CONFIG_UCW_FB_DIRECT");
59
60 # Use thread-local storage (needs GCC-support, default: auto-detect)
61 # Set("CONFIG_UCW_TLS");
62
63 # Use epoll (needs support in libc and kernel, default: auto-detect)
64 # Set("CONFIG_UCW_EPOLL");
65
66 # Use monotonic clock (default: yes on Linux, no elsewhere)
67 # Set("CONFIG_UCW_MONOTONIC_CLOCK");
68
69 # Which regular expression library should be used? If none is selected, we use BSD regex from libc.
70 UnSet("CONFIG_UCW_POSIX_REGEX");
71 UnSet("CONFIG_UCW_PCRE");
72
73 # Compile tools used for debugging and testing of LibUCW
74 UnSet("CONFIG_UCW_DEBUG_TOOLS");
75
76 # Return success
77 1;