From ea91103855c1a1830b7c8401415882a73dbffcd7 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 7 Nov 2016 10:33:17 +1100 Subject: waf: Add a program test for pygmentize. --- common/latex.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/latex.py') diff --git a/common/latex.py b/common/latex.py index acbd341..fc38552 100644 --- a/common/latex.py +++ b/common/latex.py @@ -134,6 +134,9 @@ def configure_tests(conf): tests.remove(e) fails = 0 + r = conf.find_program("pygmentize", mandatory = False) + if r is None: + fails += 1 for t in tests: r = conf.test(build_fun = build_latex_test, msg = "Checking for Tex package '%s'" % (t), -- cgit v1.2.3