summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBertrand Garrigues <bertrand.garrigues@laposte.net>2018-11-24 00:17:11 +0100
committerBertrand Garrigues <bertrand.garrigues@laposte.net>2018-11-24 00:38:08 +0100
commita828035c84b1a186ebdbd5c8070b0e9516b67e83 (patch)
tree2880f5b751f443b0227c4b2aacc0078ddce06c09 /configure.ac
parentbb53e86621721db78656a1b846ed15bf2b07d51f (diff)
downloadgroff-git-a828035c84b1a186ebdbd5c8070b0e9516b67e83.tar.gz
Add automatic tests on mom examples
* m4/groff.m4 (GROFF_PDFTOOLS): check presence of some pdf tools. * configure.ac: use 'GROFF_PDFTOOLS', add new AM conditional. * contrib/mom/examples/test-mom.sh.in: new file that use 'pdfinfo' and 'pdfimages' to make some basic checks on mom examples.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9d0f52bc6..cb2bd10aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,6 +79,7 @@ AC_PROG_MKDIR_P
GROFF_PROG_XPMTOPPM
PKG_PROG_PKG_CONFIG
GROFF_UCHARDET
+GROFF_PDFTOOLS
# use a dummy substitution if no csh hack is necessary to avoid errors
# with non-GNU sed programs
@@ -199,6 +200,7 @@ AM_CONDITIONAL([BUILD_PDFEXAMPLES], [test -n "$make_pdfexamples"])
AM_CONDITIONAL([BUILD_OTHERDOC], [test -n "$make_otherdoc"])
AM_CONDITIONAL([BUILD_EXAMPLES], [test -n "$make_examples"])
AM_CONDITIONAL([INSTALL_SHIPPED_HTML], [test -n "$make_install_shipped_htmldoc"])
+AM_CONDITIONAL([HAVE_PDFTOOLS], [test "x$groff_have_pdftools" = "xyes" ])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([test-groff], [chmod +x test-groff])
@@ -226,7 +228,8 @@ echo "\
fi
echo "\
URW fonts for pdf : $groff_have_urw_fonts
- Use uchardet library for preconv: $groff_have_uchardet"
+ Use uchardet library for preconv: $groff_have_uchardet
+ pdftools for distcheck : $groff_have_pdftools"
echo "\
----------------------------------------------------------------------"