summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-22 07:48:10 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:59 +1000
commit8bc95608223033428cc1fae7525f07e22ab7d8ef (patch)
tree0c095c036aaa6dbcb731b2a1ec44294bf4d0c560 /lib/replace/wscript
parent35aaf0e7723142d25b19a33c1701961a8e142ede (diff)
downloadsamba-8bc95608223033428cc1fae7525f07e22ab7d8ef.tar.gz
samba-8bc95608223033428cc1fae7525f07e22ab7d8ef.tar.bz2
samba-8bc95608223033428cc1fae7525f07e22ab7d8ef.zip
build: more complete implementation of waf configure -C
this is a closer emulation of the autoconf behaviour
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript9
1 files changed, 1 insertions, 8 deletions
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")