[ntpsec-main commit] Add a note about manpage support after configure
Amar Takhar
amar at ntpsec.org
Fri Nov 13 03:49:11 UTC 2015
Module: ntpsec-main
Branch: master
Commit: 3e160db8dc248a0bcb053b56a80167dc742d2b74
Changeset: http://git.ntpsec.org//commit/?id=3e160db8dc248a0bcb053b56a80167dc742d2b74
Author: Amar Takhar <verm at darkbeer.org>
Date: Thu Nov 12 22:48:49 2015 -0500
Add a note about manpage support after configure
* Also change True/False to Yes/No which is nicer to read.
---
pylib/configure.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/pylib/configure.py b/pylib/configure.py
index a074161..6ca41a0 100644
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -453,11 +453,18 @@ def cmd_configure(ctx):
ctx.end_msg("config.h", "PINK")
+ def yesno(x):
+ if x:
+ return "Yes"
+ return "No"
+
+
msg("")
msg("Build Options")
msg_setting("CC", " ".join(ctx.env.CC))
msg_setting("CFLAGS", " ".join(ctx.env.CFLAGS))
msg_setting("LDFLAGS", " ".join(ctx.env.LDFLAGS))
msg_setting("PREFIX", ctx.env.PREFIX)
- msg_setting("Debug Support", ctx.options.enable_debug)
+ msg_setting("Debug Support", yesno(ctx.options.enable_debug))
msg_setting("Refclocks", ctx.options.refclocks)
+ msg_setting("Build Manpages", yesno(ctx.env.BIN_A2X))
More information about the vc
mailing list