diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-06-01 16:46:52 -0500 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-06-03 04:01:12 -0500 |
commit | a47f786c83bac69332edd1a9be276b768bd0ff85 (patch) | |
tree | 2dc4b9565129fa6307dae3af7cbf1d017d93ee8e /m4 | |
parent | 775ffb86589a0fd1e16d329ade6ebc81e859363a (diff) | |
download | groff-git-a47f786c83bac69332edd1a9be276b768bd0ff85.tar.gz |
[build]: Rename variables and macros for clarity.
[build]: Rename shell variables and Autoconf/Automake macros of Boolean
sense to have names more like logical predicates and avoid doofy "DONT"
nomenclature.
* m4/groff.m4 (GROFF_MAKE_RM): Rename shell variable
`groff_is_rm_defined` to `groff_make_defines_rm` (purely for clarity;
it already had a good name).
(GROFF_MAKE_RM): Rename this...
(GROFF_MAKE_DEFINES_RM): to this, to make parallelism obvious, and
enabling...
* configure.ac: ...rename of `MAKE_DONT_HAVE_RM` to `MAKE_DEFINES_RM`
with sense of test reversed. Also interpolate `GROFF_MAKE_DEFINES_RM`
instead of `GROFF_MAKE_RM`. This in turn enables...
* Makefile.am: ...revision of conditional from `MAKE_DONT_HAVE_RM` to
"!`MAKE_DEFINES_RM`".
Diffstat (limited to 'm4')
-rw-r--r-- | m4/groff.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4 index 7236abba9..c3de8cb61 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -1645,8 +1645,8 @@ AC_DEFUN([GROFF_PROG_XPMTOPPM], # Check for make built-in variable RM. -AC_DEFUN([GROFF_MAKE_RM], [ - AC_MSG_CHECKING(whether make has built-in variable 'RM') +AC_DEFUN([GROFF_MAKE_DEFINES_RM], [ + AC_MSG_CHECKING(whether make defines 'RM') cat <<EOF > test_make_rm.mk all: @if test -n "\$(RM)"; \ @@ -1656,8 +1656,8 @@ all: echo no; \ fi EOF - groff_is_rm_defined=`make -sf test_make_rm.mk` - AC_MSG_RESULT([$groff_is_rm_defined]) + groff_make_defines_rm=`make -sf test_make_rm.mk` + AC_MSG_RESULT([$groff_make_defines_rm]) rm -f test_make_rm.mk ]) |