[ntpsec commit] Add header name to failed-but-exists message

Hal Murray murray at ntpsec.org
Sun Oct 4 01:17:06 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    38206eb1e29b465a85c1b391a2de3b611df2bf0f
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=38206eb1e29b465a85c1b391a2de3b611df2bf0f

Author:    Hal Murray <hmurray at megapathdsl.net>
Date:      Sat Oct  3 18:16:27 2015 -0700

Add header name to failed-but-exists message

So grep "exists" will show the header name.

---

 pylib/configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pylib/configure.py b/pylib/configure.py
index b3fbfb3..f4508ee 100644
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -267,7 +267,7 @@ def cmd_configure(ctx):
 		if not ctx.check_cc(header_name=hdr, mandatory=False) \
 		   and os.path.exists("/usr/include/" + hdr):
 			# Sanity check...
-			print "Compilation check failed but include exists!"
+			print "Compilation check failed but include exists %s" % hdr
 
 	for header in ["timepps.h", "sys/timepps.h"]:
 		probe_header_with_prerequisites(ctx, header, ["inttypes.h"])



More information about the vc mailing list