git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b472a
)
wafsamba: Disable the abi checks when gdb is not available
author
Thomas Nagy
<tnagy2pow10@gmail.com>
Fri, 21 May 2010 10:48:11 +0000
(12:48 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 May 2010 11:59:55 +0000
(13:59 +0200)
Try to find gdb during the configuration, if gdb is missing, disable
the abi checks.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
buildtools/wafsamba/wscript
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wscript
b/buildtools/wafsamba/wscript
index 56f2e60a5beb4a4431625520c649806d22651ce9..7bb2baa0380a6201980a6e09e8c53993cfe01f84 100644
(file)
--- a/
buildtools/wafsamba/wscript
+++ b/
buildtools/wafsamba/wscript
@@
-191,6
+191,10
@@
def configure(conf):
conf.env.ABI_CHECK = Options.options.ABI_CHECK or Options.options.developer
if Options.options.ABI_CHECK_DISABLE:
conf.env.ABI_CHECK = False
+ try:
+ conf.find_program('gdb', mandatory=True)
+ except:
+ conf.env.ABI_CHECK = False
conf.CHECK_COMMAND(['uname', '-a'],
msg='Checking build system',