gbranden pushed a commit to branch master
in repository groff.

commit 2022ccc99bdb931bb64fffa800d9f4f05dbf8743
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Apr 11 07:32:09 2025 -0500

    m4/groff.m4: Search for more shells.
    
    * m4/groff.m4 (GROFF_PROG_SH): A recent message to the Austin Group
      mailing list revealed which shells they routinely work with.  Search
      for shells named ksh93, ksh88, mksh, and yash as well.
    
      "Using the test script in Mantis bug 1915 we have observed four
      different behaviors among shells whose behavior we usually consider
      when investigating issues: one shared by dash, ksh93 and yash; and one
      each from bash, mksh and ksh88."
    
    See 
<https://www.mail-archive.com/[email protected]/msg13723.html>.
---
 ChangeLog   | 15 +++++++++++++++
 m4/groff.m4 |  3 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index aa8a6d586..1817f8a30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2025-04-11  G. Branden Robinson <[email protected]>
+
+       * m4/groff.m4 (GROFF_PROG_SH): Search for more shells.  A recent
+       message to the Austin Group mailing list revealed which shells
+       they routinely work with.  Search for shells named ksh93, ksh88,
+       mksh, and yash as well.
+
+       "Using the test script in Mantis bug 1915 we have observed four
+       different behaviors among shells whose behavior we usually
+       consider when investigating issues: one shared by dash, ksh93
+       and yash; and one each from bash, mksh and ksh88."
+
+       See <https://www.mail-archive.com/[email protected]/\
+       msg13723.html>.
+
 2025-04-11  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (file_iterator::get_location): Add
diff --git a/m4/groff.m4 b/m4/groff.m4
index 9f311e318..bb8977522 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -1829,7 +1829,8 @@ AC_DEFUN([GROFF_PROG_SH], [
     # Try to find a shell that is likely to be more modern than the
     # system's /bin/sh; otherwise programs must complain at runtime if
     # the environment is non-conforming to POSIX.
-    AC_PATH_PROGS([POSIX_SHELL_PROG], [bash ksh dash ash], [no])
+    AC_PATH_PROGS([POSIX_SHELL_PROG], [bash ksh ksh93 ksh88 mksh dash \
+                                       ash yash], [no])
   fi
   if test "$POSIX_SHELL_PROG" = no
   then

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

Reply via email to