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 /configure.ac | |
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 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a6d26dcab..b4d4b7338 100644 --- a/configure.ac +++ b/configure.ac @@ -168,7 +168,7 @@ GROFF_CHECK_GROHTML_PROGRAMS GROFF_CHECK_GROPDF_PROGRAMS GROFF_PNMTOOLS_CAN_BE_QUIET GROFF_PNMTOPS_NOSETPAGE -GROFF_MAKE_RM +GROFF_MAKE_DEFINES_RM GROFF_DIFF_D GROFF_HAVE_TEST_EF_OPTION GROFF_BASH @@ -192,8 +192,7 @@ AM_CONDITIONAL([BUILD_WINSCRIPTS], [test -n "$make_winscripts"]) # src/libs/libxutil AM_CONDITIONAL([WITHOUT_X11], [test "$groff_no_x" = yes]) -# make builtin variable RM -AM_CONDITIONAL([MAKE_DONT_HAVE_RM], [test "$groff_is_rm_defined" = no]) +AM_CONDITIONAL([MAKE_DEFINES_RM], [test "$groff_make_defines_rm" = yes]) # Some programs have a "g" prefix if an existing troff installation is # detected. |