From 8bc95608223033428cc1fae7525f07e22ab7d8ef Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Mar 2010 07:48:10 +1100 Subject: build: more complete implementation of waf configure -C this is a closer emulation of the autoconf behaviour --- lib/replace/wscript | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib/replace/wscript') diff --git a/lib/replace/wscript b/lib/replace/wscript index dc00790436..73a89f0060 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -53,14 +53,7 @@ def configure(conf): if Options.options.timestamp_dependencies: conf.ENABLE_TIMESTAMP_DEPENDENCIES() - if Options.options.enable_configure_cache: - conf.ENABLE_CONFIGURE_CACHE() - else: - # during the configure checks we want the waf dependency checker - # to go into system includes. This ensures that if you add/remove - # a system library, that 'waf configure' will detect that, and - # it won't be fooled by the waf cache - preproc.go_absolute = True + conf.SETUP_CONFIGURE_CACHE(Options.options.enable_configure_cache) # load our local waf extensions conf.check_tool('wafsamba', tooldir=conf.srcdir + "/buildtools/wafsamba") -- cgit