groff-commit
[Top][All Lists]
Advanced

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

[groff] 12/19: m4/groff.m4: Report if no sys tmac prefix found.


From: G. Branden Robinson
Subject: [groff] 12/19: m4/groff.m4: Report if no sys tmac prefix found.
Date: Mon, 8 Nov 2021 18:56:02 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 3dd2e30c124033de7f3caebc09e4a66f3d83a919
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Nov 9 07:35:46 2021 +1100

    m4/groff.m4: Report if no sys tmac prefix found.
    
    * m4/groff.m4 (GROFF_TMAC): Report a human-readable message if no system
      tmac prefix is found, instead of leaving the ellipsis hanging.
---
 ChangeLog   | 6 ++++++
 m4/groff.m4 | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 79a05bd..12bdfa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2021-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * m4/groff.m4 (GROFF_TMAC): Report a human-readable message if
+       no system tmac prefix is found, instead of leaving the ellipsis
+       hanging.
+
+2021-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * m4/groff.m4 (GROFF_TMAC): Use separate shell variable for
        `AC_MSG_RESULT()` content since the human-readable string we
        populate it with in the empty case is not appropriate for later
diff --git a/m4/groff.m4 b/m4/groff.m4
index 471f74f..d7b9ab4 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -1028,7 +1028,10 @@ AC_DEFUN([GROFF_TMAC],
        done
      done
    done
-   AC_MSG_RESULT([$sys_tmac_prefix])
+   sys_tmac_prefix_result=none
+   test "x$sys_tmac_prefix" = "x" \
+       || sys_tmac_prefix_result="$sys_tmac_prefix"
+   AC_MSG_RESULT([$sys_tmac_prefix_result])
    AC_SUBST([sys_tmac_prefix])
 
    AC_MSG_CHECKING([which system macro packages should be made available])



reply via email to

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