From 0349b93a6689aa9a57e8cf4b686455155a23ffa5 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 22 Apr 2016 11:54:57 +0200 Subject: build: configure: Allow to disable support for libgeoip and zlib Allow users to explicitely disable linking against libgeoip and zlib, as they are completely optional, e.g: DISABLE_GEOIP=1 ./configure && make DISABLE_ZLIB=1 ./configure && make This change should also help to increase build coverage once we use these options in the Travis CI setup. Signed-off-by: Tobias Klauser --- INSTALL | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 9c000de..79ccfd2 100644 --- a/INSTALL +++ b/INSTALL @@ -72,11 +72,22 @@ 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 use of the optional libGeoIP and libz libraries can be explicitely +disabled by setting the corresponding variables for the configure +script: + + $ DISABLE_GEOIP=1 ./configure + $ DISABLE_ZLIB=1 ./configure + In order to remove all build files from the source tree: $ make clean In any case "make help" will give you some pointers of what can be done. + To bring the source tree into a pristine state, there are two options. The first one will remove all build and build config file, the latter will also remove any manually added files: -- cgit v1.2.3-54-g00ecf