[Git][NTPsec/ntpsec][master] Make config check for perl, awk, and sh optional.
Hal Murray
gitlab at mg.gitlab.com
Mon Feb 22 03:55:34 UTC 2016
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
ff6af3d2 by Hal Murray at 2016-02-21T19:46:33-08:00
Make config check for perl, awk, and sh optional.
- - - - -
1 changed file:
- pylib/configure.py
Changes:
=====================================
pylib/configure.py
=====================================
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -41,9 +41,12 @@ def cmd_configure(ctx):
"-f", "-I%s/libisc/include/" % srcnode,
"-f", "-I%s/libisc/unix/include/" % srcnode]
- ctx.find_program("awk", var="BIN_AWK")
- ctx.find_program("perl", var="BIN_PERL")
- ctx.find_program("sh", var="BIN_SH")
+ # Not needed to build. Used by utility scripts.
+ ctx.find_program("awk", var="BIN_AWK", mandatory=False)
+ ctx.find_program("perl", var="BIN_PERL", mandatory=False)
+ ctx.find_program("sh", var="BIN_SH", mandatory=False)
+
+ # used to make man and html pages
ctx.find_program("asciidoc", var="BIN_ASCIIDOC", mandatory=False)
ctx.find_program("a2x", var="BIN_A2X", mandatory=False)
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ff6af3d23c4ae3854f98ed22ed5760c7d0f1f08e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160222/6f725766/attachment.html>
More information about the vc
mailing list