diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-08-04 11:13:42 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-08-04 11:13:42 +0200 |
commit | e6b7339a68ce57244117e2470f87ff581520cfc7 (patch) | |
tree | 159f2c034dbe89425069ca158f457a90ec31f1c7 /INSTALL | |
parent | 820e85f9f29513860092a02599efa529c00a1089 (diff) |
build: configure: Use command line options to disable optional libraries
Make the configure script accept command line options similar to the
autotools generated configure. Implement --disable-geoip and
--disable-zlib and use the to replace the respective DISABLE_* variables
introduced in 0349b93a6689a ("build: configure: Allow to disable support
for libgeoip and zlib").
Also update INSTALL and the travis CI configuration accordingly.
Based on previous work by Vadim Kochan.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -72,15 +72,18 @@ The installation (deinstallation) process is fairly simple: (# make uninstall) -The configure script can be influenced by setting certain environment -variables, e.g. CC or CROSS_COMPILE. +The configure script can be influenced by setting certain command line +options and environment variables (e.g. CC or CROSS_COMPILE). To get a list +of all supported options and variables use: + + $ ./configure --help The use of the optional libGeoIP and libz libraries can be explicitely -disabled by setting the corresponding variables for the configure +disabled by using the corresponding command line option for the configure script: - $ DISABLE_GEOIP=1 ./configure - $ DISABLE_ZLIB=1 ./configure + $ ./configure --disable-geoip + $ ./configure --disable-zlib In order to remove all build files from the source tree: |