From: Matthew Fernandez Date: Sat, 26 Sep 2020 01:51:44 +0000 (-0700) Subject: fix: pstopdf support in the Autotools build system X-Git-Tag: 2.46.0~20^2^2~56^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7379ed8c5c60ff7d50bb4d7c0573e1d9d002de6b;p=graphviz 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 --- 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