Commit 66d5f6ca authored by Amar Takhar's avatar Amar Takhar

Add check for a2x

parent 73de1a65
......@@ -75,6 +75,7 @@ def cmd_configure(ctx):
ctx.find_program("perl", var="BIN_PERL")
ctx.find_program("sh", var="BIN_SH")
ctx.find_program("asciidoc", var="BIN_ASCIIDOC", mandatory=False)
ctx.find_program("a2x", var="BIN_ASCIIDOC", mandatory=False)
if ctx.options.enable_doc and not ctx.env.BIN_ASCIIDOC:
ctx.fatal("asciidoc is required in order to build documentation")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment