Go to the first, previous, next, last section, table of contents.


Compile-time configuration via GNU autoconf

Before it can be compiled, zlibc must be configured using the GNU autoconf script ./configure. In most circumstances, running ./configure without any parameters is enough. However, you may customize zlibc using various options to ./configure. The following options are supported:

--prefix directory
Prefix used for any directories used by zlibc. By default, this is `/usr/local'. Zlibc is install in `$prefix/lib', looks for its system wide configuration file in `$prefix/etc'. Man pages are installed in `$prefix/man', info pages in `$prefix/info' etc. On Linux, if you use zlibc via `/etc/ld.so.preload', you should use `/' as the prefix instead of the default `$prefix/lib'.
--sysconfdir directory
Directory containing the system-wide configuration file `zlibc.conf'. By default, this is derived from prefix (see above).
--disable-runtime-conf
Disables run time configuration via environmental variables and via the configuration files. This may be needed in hyper secure environments.
--disable-env-conf
Disables run time configuration via environmental variables
--disable-proc
Tells zlibc not to use the /proc filesystem to find out the commandline of the programs for which it runs, even if a working /proc is detected.
--disable-proc
Tells zlibc to use the /proc filesystem to find out the commandline of the programs for which it runs, even if no working /proc is detected.
--with-compr-ext=extension
Uses extension as the filename extension of compressed files. By default, is .gz
--with-extlen=length
Allows to configure compressed filename extensions with at most length character via runtime configuration. By default is 5.
--with-tmpdir=directory
Uses directory to store the uncompressed files. By default is /tmp.
--with-uncompressor=uncompressor-command-line
Defines how the program for uncompressing files should be invoked. This command should read the compressed file from stdin, and output the uncompressed data to stdout By default is gzip -dc.

In addition to the above-listed options, the standard GNU autoconf options apply. Type ./configure --help to get a complete list of these.


Go to the first, previous, next, last section, table of contents.