gbranden pushed a commit to branch master
in repository groff.

commit 21b9de7126d581e81a120e6a8250f728095fcba2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jan 25 19:22:42 2026 -0600

    m4/groff.m4: Update error messages.
    
    * m4/groff.m4 (GROFF_PERL): Refer to Perl "executable", not "binary";
      whether an executable is an object file is not our concern.  When
      failing because the available version of Perl is too old, report the
      minimum version we require.
---
 ChangeLog   | 8 ++++++++
 m4/groff.m4 | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b93f4e2d6..35153bc6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2026-01-25  G. Branden Robinson <[email protected]>
+
+       * m4/groff.m4 (GROFF_PERL): Update error messages.  Refer to
+       Perl "executable", not "binary"; whether an executable is an
+       object file is not our concern.  When failing because the
+       available version of Perl is too old, report the minimum version
+       we require.
+
 2026-01-25  G. Branden Robinson <[email protected]>
 
        * doc/doc.am: Abstract `-P-W` option to "gropdf" into a new
diff --git a/m4/groff.m4 b/m4/groff.m4
index d8a7b501a..25a21e6fd 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -123,10 +123,10 @@ AC_DEFUN([GROFF_PERL], [
   AC_PATH_PROG([PERL], [perl], [no])
   if test "$PERL" = no
   then
-    AC_MSG_ERROR([perl binary not found], 1)
+    AC_MSG_ERROR([perl executable not found], 1)
   fi
   AX_PROG_PERL_VERSION([$PERLVERSION], true,
-    AC_MSG_ERROR([perl version is too old], 1))
+    AC_MSG_ERROR([perl version is too old (need $PERLVERSION)], 1))
 ])
 
 # We need m4 to generate some man pages.

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

Reply via email to