summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-19 15:58:37 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-19 16:34:14 +1000
commitb6dff759f7016bb4820fc8f9d660bf565c7caeee (patch)
treeb0875b0fccd54afb12040497d12c26823eaab319 /buildtools/wafsamba/samba_autoconf.py
parent5040e2a6fbe8b240b1d445e1260bb95203618b75 (diff)
downloadsamba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.tar.gz
samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.tar.bz2
samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.zip
build: added --cross-answers support
This allows you to easily cross-compile even without a --cross-execute emulator See http://wiki.samba.org/index.php/Waf#cross-compiling for details
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index dd7abe2864..fa58e8f249 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -372,7 +372,7 @@ def CHECK_CODE(conf, code, define,
cflags = TO_LIST(cflags)
cflags.extend(ccflags)
- exec_args = conf.SAMBA_CROSS_ARGS()
+ exec_args = conf.SAMBA_CROSS_ARGS(msg=msg)
ret = conf.check(fragment=fragment,
execute=execute,
@@ -567,6 +567,7 @@ def SAMBA_CONFIG_H(conf, path=None):
conf.write_config_header('config.h', top=True)
else:
conf.write_config_header(path)
+ conf.SAMBA_CROSS_CHECK_COMPLETE()
@conf