diff options
author | Björn Jacke <bj@sernet.de> | 2019-02-11 10:03:00 +0100 |
---|---|---|
committer | Bjoern Jacke <bjacke@samba.org> | 2019-02-17 13:33:15 +0100 |
commit | 7058a88cbe3c1a2ad272b6debc1c9d09a259d116 (patch) | |
tree | d62de7f2ceb4b09dfa6ebd51d555329013dbe1e3 /buildtools | |
parent | 918bf89dc760e007a36c90be34b4627eb2141157 (diff) | |
download | samba-7058a88cbe3c1a2ad272b6debc1c9d09a259d116.tar.gz |
waf: print the library name in which we search for a function
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 7d975393c5b..ee1fc231eb9 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -251,7 +251,10 @@ def CHECK_FUNC(conf, f, link=True, lib=None, headers=None): ret = False - conf.COMPOUND_START('Checking for %s' % f) + in_lib_str = "" + if lib: + in_lib_str = " in %s" % lib + conf.COMPOUND_START('Checking for %s%s' % (f, in_lib_str)) if link is None or link: ret = CHECK_CODE(conf, |