groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/02: [build]: Discard now-unneeded Autoconf macro.


From: G. Branden Robinson
Subject: [groff] 02/02: [build]: Discard now-unneeded Autoconf macro.
Date: Fri, 3 Mar 2023 09:58:47 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 385e730e07286c98a0340e83278b2826dcf73c6b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Mar 1 06:16:05 2023 -0600

    [build]: Discard now-unneeded Autoconf macro.
    
    ...and variables.
    
    * configure.ac: Stop calling `GROFF_POPPLER`.  Stop populating the
      Automake conditional `HAVE_PDFTOOLS`.  Eliminate chatter about their
      availability in the configuration report.
    
    * m4/groff.m4 (GROFF_POPPLER): Delete.
---
 ChangeLog    |  9 +++++++++
 configure.ac |  3 ---
 m4/groff.m4  | 14 --------------
 3 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f59415081..28d56966d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-03-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [build]: Discard now-unneeded Autoconf macro and variables.
+
+       * configure.ac: Stop calling `GROFF_POPPLER`.  Stop populating
+       the Automake conditional `HAVE_PDFTOOLS`.  Eliminate chatter
+       about their availability in the configuration report.
+       * m4/groff.m4 (GROFF_POPPLER): Delete.
+
 2023-03-01  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [mom]: Generate test script even if we'll skip it.
diff --git a/configure.ac b/configure.ac
index fa38baba9..4b1e92fb1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,6 @@ AC_PROG_MKDIR_P
 GROFF_PROG_XPMTOPPM
 PKG_PROG_PKG_CONFIG
 GROFF_UCHARDET
-GROFF_POPPLER
 
 # use a dummy substitution if no csh hack is necessary to avoid errors
 # with non-GNU sed programs
@@ -205,7 +204,6 @@ AM_CONDITIONAL([USE_GROFF_ALLOCATOR],
 AM_CONDITIONAL([HAVE_GHOSTSCRIPT], [test "$GHOSTSCRIPT" != no \
                 && test "$GHOSTSCRIPT" != missing])
 AM_CONDITIONAL([HAVE_URW_FONTS], [test "$groff_have_urw_fonts" = yes ])
-AM_CONDITIONAL([HAVE_PDFTOOLS], [test "$groff_have_pdftools" = yes ])
 AM_CONDITIONAL([HAVE_TEXI2DVI], [test "$groff_have_texi2dvi" = yes ])
 AM_CONDITIONAL([USE_TEX], [test "$groff_use_tex" = yes ])
 
@@ -252,7 +250,6 @@ fi
 echo "\
  preconv can use uchardet library : $groff_have_uchardet
  can build groff.dvi, groff.pdf   : $groff_use_tex
- tests can use poppler PDF tools  : $groff_have_pdftools
 ----------------------------------------------------------------------"
 
 GROFF_APPDEFDIR_NOTICE
diff --git a/m4/groff.m4 b/m4/groff.m4
index 4fcc81190..19bf7f980 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -1876,20 +1876,6 @@ AC_DEFUN([GROFF_UCHARDET_NOTICE], [
   fi
 ])
 
-# Some automated tests use Poppler PDF tools for sanity checks.
-
-AC_DEFUN([GROFF_POPPLER], [
-  groff_have_pdftools=no
-  AC_CHECK_PROG([PDFINFO], [pdfinfo], [found], [missing])
-  AC_CHECK_PROG([PDFFONTS], [pdffonts], [found], [missing])
-  AC_CHECK_PROG([PDFIMAGES], [pdfimages], [found], [missing])
-  if test "$PDFINFO" = found \
-    && test "$PDFFONTS" = found \
-    && test "$PDFIMAGES" = found
-  then
-    groff_have_pdftools=yes
-  fi
-])
 
 AC_DEFUN([GROFF_USE_GROFF_ALLOCATOR], [
   AC_ARG_ENABLE([groff-allocator],



reply via email to

[Prev in Thread] Current Thread [Next in Thread]