waf: print the library name in which we search for a function
[gd/samba-autobuild/.git] / buildtools / wafsamba / samba_autoconf.py
index 7d975393c5b0cbb4d17810d92d35010c4ea587b8..ee1fc231eb9aa232a397fe40052e4b5aa56dc39d 100644 (file)
@@ -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,