groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 15/28: [build]: Reduce noise in minimal builds.


From: G. Branden Robinson
Subject: [groff] 15/28: [build]: Reduce noise in minimal builds.
Date: Wed, 25 May 2022 22:43:23 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 6ae7d461a6981ed6167554534ad3e40f1123d1d3
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue May 24 12:03:03 2022 -0500

    [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.
---
 ChangeLog   | 6 ++++++
 m4/groff.m4 | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index bc067939..d46dac34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-05-24  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * 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.
+
 2022-05-24  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [build]: Add print spooler determination to configuration
diff --git a/m4/groff.m4 b/m4/groff.m4
index e475d49a..361fa082 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]