diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-05-31 17:43:59 -0500 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-05-31 18:39:14 -0500 |
commit | 4d30dd7424161f968f79e310bf0527eca402df8b (patch) | |
tree | 83ce0ae2db6c5630fc75b1ecf62ab5b99ea371c7 /m4 | |
parent | 73d3c0c6f0b3c9845c3414741f6c707d93200321 (diff) | |
download | groff-git-4d30dd7424161f968f79e310bf0527eca402df8b.tar.gz |
[build]: Report more configuration data.
* configure.ac: Report use of "g" prefix for commands and macro package
compatibility wrappers.
* m4/groff.m4 (GROFF_G): Fix code style nits. Update indentation to
match recent practice.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/groff.m4 | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4 index 551e872e6..32d7f3de0 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -1052,16 +1052,20 @@ AC_DEFUN([GROFF_TMAC], # Searching if a non-GNU Troff is installed. The built-in register # \n[.g] is always 1 in GNU Troff. -AC_DEFUN([GROFF_G], - [AC_MSG_CHECKING([for existing troff installation]) - if test "`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = 0; then - AC_MSG_RESULT([yes]) - g=g - else - AC_MSG_RESULT([no]) - g= - fi - AC_SUBST([g])]) +AC_DEFUN([GROFF_G], [ + g= + AC_MSG_CHECKING([for existing troff installation]) + if test "`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) \ + 2>/dev/null`" = 0 + then + AC_MSG_RESULT([yes]) + g=g + else + AC_MSG_RESULT([no]) + fi + AC_SUBST([g]) +]) + # Controllable groff compatibility wrappers for vendor-provided macro sets # |