]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
Build system: Improvements for ./configure script
authorTill Kamppeter <till.kamppeter@gmail.com>
Thu, 1 Sep 2022 21:58:21 +0000 (23:58 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Thu, 1 Sep 2022 21:58:21 +0000 (23:58 +0200)
commit1b91b33c012079c99553216af9cbc9adbbc8bdca
treec372e57d349e19a8f7617017c0b462886a247ea9
parent99d157509e7e19b1e5681f8be3a472c839a3427e
Build system: Improvements for ./configure script

- Make sure that always a valid PDF-to-PostScript renderer is
  selected, especially if one or another renderer is disabled, like
  "hybrid" ("--with-pdftops=hybrid") does not make sense if Ghostscipt
  is disabled ("--disable ghostscript"). In this case the first valid
  renderer found will beused.

- In the summary at the end report which PDF-to-PostScript renderer
  gets actually used.

- Changed oder of treating the PDF-to-PostScript renderer, so that as
  first choice Ghostscript would be taken and as second choice
  Poppler's pdftops.

- Generate for each supported PDF renderer a "HAVE_..." macro in
  config.h, for easily excluding unnecessary code.
configure.ac
cupsfilters/universal.c
mime/cupsfilters-universal-postscript.convs [new file with mode: 0644]
mime/cupsfilters-universal.convs