]> mj.ucw.cz Git - libucw.git/blob - ucw/default.cfg
Config: CONFIG_OWN_GETOPT moved to UCW namespace
[libucw.git] / ucw / default.cfg
1 # Configuration variables of the UCW library and their default values
2 # (c) 2005--2010 Martin Mares <mj@ucw.cz>
3
4 # Version of the whole package
5 Set("UCW_VERSION" => "4.0.1-dev");
6 Set("UCW_VERSION_CODE" => 4000001);
7
8 # Compile everything with debug information and ASSERT's
9 UnSet("CONFIG_DEBUG");
10
11 # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages)
12 UnSet("CONFIG_EXACT_CPU");
13
14 # Support files >2GB
15 Set("CONFIG_LARGE_FILES");
16
17 # Use shared libraries
18 UnSet("CONFIG_SHARED");
19
20 # In addition to normal static libraries, generate also static libraries
21 # with PIC code (libucw-pic.a and friends).
22 UnSet("CONFIG_STATIC_PIC");
23
24 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
25 # of GNU libc's getopt. This should not be necessary on GNU libc.
26 UnSet("CONFIG_UCW_OWN_GETOPT");
27
28 # Install libraries and their API includes
29 UnSet("CONFIG_INSTALL_API");
30
31 # Build with support for multi-threaded programs
32 Set("CONFIG_UCW_THREADS" => 1);
33
34 # Include Perl modules
35 Set("CONFIG_UCW_PERL" => 1);
36
37 # Include Perl modules written in C
38 UnSet("CONFIG_UCW_PERL_MODULES");
39
40 # Include support utilities for shell scripts
41 Set("CONFIG_UCW_SHELL_UTILS" => 1);
42
43 # Include utilities
44 Set("CONFIG_UCW_UTILS" => 1);
45
46 # Default configuration file
47 UnSet("CONFIG_UCW_DEFAULT_CONFIG");
48
49 # Environment variable with configuration file
50 UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
51
52 # Allow use of direct IO on files
53 Set("CONFIG_UCW_DIRECT_IO");
54 Set("CONFIG_UCW_FB_DIRECT");
55
56 # Use thread-local storage (needs GCC-support, default: auto-detect)
57 # Set("CONFIG_UCW_TLS");
58
59 # Use epoll (needs support in libc and kernel, default: auto-detect)
60 # Set("CONFIG_UCW_EPOLL");
61
62 # Return success
63 1;