From 7379ed8c5c60ff7d50bb4d7c0573e1d9d002de6b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 25 Sep 2020 18:51:44 -0700 Subject: [PATCH] fix: pstopdf support in the Autotools build system pstopdf can now be used as a substitute for ps2pdf when using the Autotools build system. This commit adapts a downstream packaging tweak from Homebrew [0] commit f231dcfd69a290c8a289bccd8cfc9aa9b8dc5472, that now works correctly as of the previous commit. Related to #1763. [0]: https://github.com/Homebrew/homebrew-core --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5e99e2b6a..cfd98f4c0 100644 --- a/configure.ac +++ b/configure.ac @@ -284,8 +284,7 @@ AC_CHECK_PROGS(SORT,gsort sort,false) AC_CHECK_PROG(EGREP,egrep,egrep,false) AC_CHECK_PROG(GROFF,groff,groff,false) -AC_CHECK_PROG(PS2PDF,ps2pdf,ps2pdf,false) -AC_CHECK_PROG(PS2PDF,pstopdf,pstopdf,false) +AC_CHECK_PROGS(PS2PDF,ps2pdf pstopdf,false) AM_CONDITIONAL(HAVE_PS2PDF,[test "x$PS2PDF" != xfalse]) PKG_PROG_PKG_CONFIG -- 2.50.1