]> mj.ucw.cz Git - libucw.git/blob - ucw/default.cfg
Released as 6.5.16.
[libucw.git] / ucw / default.cfg
1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2015 Martin Mares <mj@ucw.cz>
3 # (c) 2020--2024 Pavel Charvat <pchar@ucw.cz>
4
5 # Version of the whole package
6 Set("UCW_VERSION" => "6.5.16");
7 Set("UCW_VERSION_CODE" => 6005016);
8
9 # Name of libraries in packages (libucw$UCW_ABI_SUFFIX.so.0.0, etc.)
10 Set("UCW_ABI_SUFFIX" => "-6.5");
11
12 # Compile everything with debug information and ASSERT's
13 UnSet("CONFIG_DEBUG");
14
15 # Environment variable with a switch to abort() on die().
16 # Any non-empty value of the variable turns this feature on.
17 Set("CONFIG_UCW_ENV_VAR_DIE_BY_ABORT" => "UCW_DIE_BY_ABORT");
18
19 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
20 UnSet("CONFIG_EXACT_CPU");
21
22 # Support files >2GB
23 Set("CONFIG_UCW_LARGE_FILES");
24
25 # Use shared libraries
26 UnSet("CONFIG_SHARED");
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 getrandom (needs support in libc and kernel, default: auto-detect)
70 # Set("CONFIG_UCW_GETRANDOM");
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;