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