summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-05-24 12:03:03 -0500
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-05-24 12:03:03 -0500
commit6ae7d461a6981ed6167554534ad3e40f1123d1d3 (patch)
tree31d3fdba106eb21057e13a8d58ad2ef095656619 /m4
parentbd43408faa9617d61415e9fcf63d29894e355268 (diff)
downloadgroff-git-6ae7d461a6981ed6167554534ad3e40f1123d1d3.tar.gz
[build]: Reduce noise in minimal builds.
* m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Don't emit the notice if Ghostscript isn't available, since it was a prerequisite for the `GROFF_URW_FONTS_CHECK` macro in the first place.
Diffstat (limited to 'm4')
-rw-r--r--m4/groff.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4
index e475d49af..361fa0824 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -324,7 +324,7 @@ AC_DEFUN([GROFF_URW_FONTS_CHECK], [
])
AC_DEFUN([GROFF_URW_FONTS_NOTICE], [
- if test "$groff_have_urw_fonts" = no
+ if test "$GHOSTSCRIPT" != missing && test "$groff_have_urw_fonts" = no
then
AC_MSG_NOTICE([URW fonts in Type 1/PFB format were not found.
URW font generation for groff's 'gropdf' output driver will not work