summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 15:39:24 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:50 +1000
commitfe9e5d33bb1697bc92348f8e27da8f3d666965e2 (patch)
tree809976757b5acf823d1d851a046b9241d927cab2
parentcf7f64b4e726ba1511d8625f214f785349211d01 (diff)
downloadsamba-fe9e5d33bb1697bc92348f8e27da8f3d666965e2.tar.gz
samba-fe9e5d33bb1697bc92348f8e27da8f3d666965e2.tar.bz2
samba-fe9e5d33bb1697bc92348f8e27da8f3d666965e2.zip
build: go into system includes for dependencies on configure
-rw-r--r--lib/replace/wscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index ab7ef9783d..44cf6462f7 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -6,7 +6,7 @@ blddir = 'bin'
import sys
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba
-import Options, os
+import Options, os, preproc
def set_options(opt):
opt.tool_options('compiler_cc')
@@ -35,6 +35,12 @@ def configure(conf):
conf.env.hlist = []
conf.env.srcdir = conf.srcdir
+ # 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
+
if Options.options.timestamp_dependencies:
conf.ENABLE_TIMESTAMP_DEPENDENCIES()