gbranden pushed a commit to branch master
in repository groff.
commit e757c8e6ba51abd317192d295fe5cd7dd37e847b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Nov 21 19:57:19 2024 -0600
m4/groff.m4: Search harder for an m4(1) program.
* m4/groff.m4 (GROFF_PROG_M4): Also search for `gm4`. Obviates need to
specify `M4=gm4` in `configure`'s environment on Solaris 10.
---
ChangeLog | 6 ++++++
m4/groff.m4 | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c7f565677..eb620971c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-11-21 G. Branden Robinson <[email protected]>
+
+ * m4/groff.m4 (GROFF_PROG_M4): Also search for `gm4`. Obviates
+ need to specify `M4=gm4` in `configure`'s environment on Solaris
+ 10.
+
2024-11-21 G. Branden Robinson <[email protected]>
* m4/groff.m4 (GROFF_DIFF_D): Report name of detected diff(1)
diff --git a/m4/groff.m4 b/m4/groff.m4
index ad19b702f..1eaeeeac9 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -130,10 +130,10 @@ AC_DEFUN([GROFF_PERL], [
# We need m4 to generate some man pages.
AC_DEFUN([GROFF_PROG_M4], [
- AC_CHECK_PROGS([M4], [m4], [missing])
+ AC_CHECK_PROGS([M4], [m4 gm4], [missing])
if test "$M4" = missing
then
- AC_MSG_ERROR([could not find 'm4'], 1)
+ AC_MSG_ERROR([could not find an m4 program], 1)
fi
])
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit