diff options
author | Thomas Nagy <tnagy2pow10@gmail.com> | 2010-05-21 12:48:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-05-21 13:59:55 +0200 |
commit | ab093ffe4637db65afb3779f592f20dd55f4e5f3 (patch) | |
tree | 6baa60acae3790c0bd9c64c759ba03e617e04f2a | |
parent | 50b472a772edeb23ec97c3878054fb437db24f9b (diff) | |
download | samba-ab093ffe4637db65afb3779f592f20dd55f4e5f3.tar.gz samba-ab093ffe4637db65afb3779f592f20dd55f4e5f3.tar.bz2 samba-ab093ffe4637db65afb3779f592f20dd55f4e5f3.zip |
wafsamba: Disable the abi checks when gdb is not available
Try to find gdb during the configuration, if gdb is missing, disable
the abi checks.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | buildtools/wafsamba/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 56f2e60a5b..7bb2baa038 100644 --- 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', |