gbranden pushed a commit to branch master
in repository groff.

commit f1e4088d78ab4e47476df35ecd9cb67399cabe6f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Feb 17 15:08:05 2026 -0600

    Eliminate new but superfluous Automake variable.
    
    * configure.ac: Drop `AM_CONDITIONAL()` defining `GROPDF_INTER`, which
      is confusingly named (it meant "not the basic service level", not the
      "inter[mediate]" one specifically), not directly coupled to the
      availability of a feature of the build host (but instead based on the
      value of a shell variable that _was_ being used just for reporting,
      and with this commit is again limited to that purpose), and duplicates
      the semantics of an existing Automake variable, `HAVE_GHOSTSCRIPT`.
      See the definition of `GROFF_GROPDF_DEPENDENCIES_CHECK` in
      "m4/groff.m4".
    
    * font/devpdf/devpdf.am: Append to macro
      `devpdffont_descriptions_from_devps` contingently on Automake variable
      `HAVE_GHOSTSCRIPT` rather than the disappearing `GROPDF_INTER`.
---
 ChangeLog             | 18 ++++++++++++++++++
 configure.ac          |  1 -
 font/devpdf/devpdf.am |  2 +-
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e0fc42a5b..216da5759 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2026-02-17  G. Branden Robinson <[email protected]>
+
+       Eliminate new but superfluous Automake variable.
+
+       * configure.ac: Drop `AM_CONDITIONAL()` defining `GROPDF_INTER`,
+       which is confusingly named (it meant "not the basic service
+       level", not the "inter[mediate]" one specifically), not directly
+       coupled to the availability of a feature of the build host (but
+       instead based on the value of a shell variable that _was_ being
+       used just for reporting, and with this commit is again limited
+       to that purpose), and duplicates the semantics of an existing
+       Automake variable, `HAVE_GHOSTSCRIPT`.  See the definition of
+       `GROFF_GROPDF_DEPENDENCIES_CHECK` in "m4/groff.m4".
+       * font/devpdf/devpdf.am: Append to macro
+       `devpdffont_descriptions_from_devps` contingently on Automake
+       variable `HAVE_GHOSTSCRIPT` rather than the disappearing
+       `GROPDF_INTER`.
+
 2026-01-20  Deri James  <[email protected]>
 
        Install groff fonts according to gropdf mode.
diff --git a/configure.ac b/configure.ac
index eba15e472..f52cd906e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,7 +192,6 @@ AM_CONDITIONAL([HAVE_URW_FONTS], [test 
"$groff_have_urw_fonts" = yes ])
 AM_CONDITIONAL([HAVE_MAKEINFO], [test "$groff_have_makeinfo" = yes ])
 AM_CONDITIONAL([HAVE_TEXI2DVI], [test "$groff_have_texi2dvi" = yes ])
 AM_CONDITIONAL([USE_TEX], [test "$groff_use_tex" = yes ])
-AM_CONDITIONAL([GROPDF_INTER], [test "$gropdf_service_level" != basic ])
 
 AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([test-groff], [chmod +x test-groff])
diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am
index c60e9856c..04d1375a4 100644
--- a/font/devpdf/devpdf.am
+++ b/font/devpdf/devpdf.am
@@ -38,7 +38,7 @@ devpdffont_descriptions_from_devps = \
   font/devpdf/TR \
   font/devpdf/EURO
 
-if GROPDF_INTER
+if HAVE_GHOSTSCRIPT
 devpdffont_descriptions_from_devps += \
   font/devpdf/AB \
   font/devpdf/ABI \

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

Reply via email to