summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-21 16:43:10 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-22 03:26:43 -0600
commit5486b5bc09f394d2697e32e2f2b887eea93f4b14 (patch)
tree71f2e6606843502f5eab8f42123e35560b95d50c /m4
parenta9767ace3dd6a4a500c02ff3658e6832fabc78ab (diff)
downloadgroff-git-5486b5bc09f394d2697e32e2f2b887eea93f4b14.tar.gz
[grohtml]: Fix Savannah #63824 (1/2).
[grohtml]: Revise tests to check for requisite programs at test time and skip if not found, rather than configuring them away at build time, which can cause a distribution archive to be incorrectly structured. * m4/groff.m4: Annotate requisite program list since we're violating the DRY principle. * src/roff/groff/groff.am (groff_TESTS): Populate unconditionally. * src/roff/groff/tests/html_works_with_grn_and_eqn.sh: * src/roff/groff/tests/smoke-test_html_device.sh: Check for requisite programs and skip test if any are not found. Fixes <https://savannah.gnu.org/bugs/?63824> (1/2).
Diffstat (limited to 'm4')
-rw-r--r--m4/groff.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4
index 7bb4466a7..af2ddfdcd 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -182,6 +182,7 @@ AC_DEFUN([GROFF_CHECK_GROHTML_PROGRAMS], [
make_htmldoc=no
missing=
m4_foreach([groff_prog],
+dnl Keep this list of programs in sync with grohtml test scripts.
[[pnmcrop], [pnmcut], [pnmtopng], [pnmtops], [psselect]], [
AC_CHECK_PROG(groff_prog, groff_prog, [found], [missing])
if test $[]groff_prog = missing