groff-commit
[Top][All Lists]
Advanced

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

[groff] 41/50: m4/groff.m4: Tweak message format.


From: G. Branden Robinson
Subject: [groff] 41/50: m4/groff.m4: Tweak message format.
Date: Sat, 21 May 2022 12:17:29 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 03f60f5bac856481a6bd62b7c87bb5a3e70b6ada
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri May 20 14:34:59 2022 -0500

    m4/groff.m4: Tweak message format.
    
    * m4/groff.m4 (GROFF_GHOSTSCRIPT_VERSION_NOTICE): Add newline at end of
      buggy Ghostscript notification, so that the multiple possible lengthy
      notices after the configuration report have blank lines separating
      them.
    
    Also quote special character escape sequence in notice.
    
    Also make code style more readable.
---
 ChangeLog   |  7 +++++++
 m4/groff.m4 | 12 +++++++-----
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9a9ca6c9..be719813 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-05-20  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * m4/groff.m4 (GROFF_GHOSTSCRIPT_VERSION_NOTICE): Add newline at
+       end of buggy Ghostscript notification, so that the multiple
+       possible lengthy notices after the configuration report have
+       blank lines separating them.
+
 2022-05-20  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        Check for m4 program at configuration time.
diff --git a/m4/groff.m4 b/m4/groff.m4
index f6719195..42779dc9 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -422,16 +422,18 @@ AC_DEFUN([GROFF_GHOSTSCRIPT_VERSION_CHECK], [
 
 AC_DEFUN([GROFF_GHOSTSCRIPT_VERSION_NOTICE], [
   if test -n "$ghostscript_notice"
-    then
-     AC_MSG_NOTICE([$ghostscript_notice
+  then
+    AC_MSG_NOTICE([$ghostscript_notice
 
   Ghostscript versions 9.00 <= x < 9.54 suffer from a rendering glitch
-  that affects the AT&T troff (and groff) special character \(lh; see
+  that affects the AT&T troff (and groff) special character '\(lh'; see
   <https://bugs.ghostscript.com/show_bug.cgi?id=703187>.  If your
   version of Ghostscript has not been patched to fix this problem, you
   may need to work around it in groff documents you render for the
-  PostScript (and, for tbl(1) tables, HTML) output devices.])
-  fi])
+  PostScript (and, for tbl(1) tables, HTML) output devices.
+  ])
+  fi
+])
 
 # Check location of 'awk'; allow '--with-awk=PROG' option to override.
 



reply via email to

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