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