gbranden pushed a commit to branch master
in repository groff.

commit 08acba81bdb19901e4aa5c856cf2c787d9c678d9
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Nov 14 09:30:09 2026 -0600

    m4/groff.m4: Improve `GROFF_G` result report.
    
    * m4/groff.m4 (GROFF_G): Report value of `.g` register alongside
      determination of installed troff's groff-compatibility.  This makes it
      easier to discern if the troff we found failed to run at all, which
      should aid troubleshooting.
---
 ChangeLog   | 7 +++++++
 m4/groff.m4 | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 25c93014b..40cdd5a66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-11-14  G. Branden Robinson <[email protected]>
+
+       * m4/groff.m4 (GROFF_G): Report value of `.g` register alongside
+       determination of installed troff's groff-compatibility.  This
+       makes it easier to discern if the troff we found failed to run
+       at all, which should aid troubleshooting.
+
 2026-11-13  G. Branden Robinson <[email protected]>
 
        * m4/groff.m4 (GROFF_G): Fix code style nits.  Break long input
diff --git a/m4/groff.m4 b/m4/groff.m4
index 0950b458f..90d260efe 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -1081,9 +1081,9 @@ AC_DEFUN([GROFF_G], [
   fi
   if test "$g" = g
   then
-    AC_MSG_RESULT([yes])
+    AC_MSG_RESULT([yes (.g='$g')])
   else
-    AC_MSG_RESULT([no])
+    AC_MSG_RESULT([no (.g='$g')])
   fi
   AC_SUBST([g])
 ])

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to