summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-20 23:17:32 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-20 23:43:33 +1000
commit5e69259671d317aebaae54ec9adc30e58f70076f (patch)
tree583c7f6ec06684b6dc000510f8f39f1ce321dd7b /buildtools/wafsamba/wscript
parenta9f5bfb3a5324f09a07657a8bb28bb4510485d31 (diff)
downloadsamba-5e69259671d317aebaae54ec9adc30e58f70076f.tar.gz
samba-5e69259671d317aebaae54ec9adc30e58f70076f.tar.bz2
samba-5e69259671d317aebaae54ec9adc30e58f70076f.zip
build: added uname display and SYSTEM_UNAME define
suggestion from Metze
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r--buildtools/wafsamba/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index a49e5e7368..66e1ae518e 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -130,6 +130,9 @@ def configure(conf):
conf.check_tool('gnu_dirs')
conf.check_tool('wafsamba')
+ conf.CHECK_UNAME(msg='Checking system type', define='SYSTEM_UNAME')
+ conf.CHECK_UNAME(flags='-a')
+
conf.CHECK_CC_ENV()
conf.check_tool('compiler_cc')