--- cups-1.3.11/config-scripts/cups-pdf.m4.orig 2010-08-17 01:13:48.000000000 +0200 +++ cups-1.3.11/config-scripts/cups-pdf.m4 2010-08-17 01:20:56.000000000 +0200 @@ -25,6 +25,18 @@ CUPS_GHOSTSCRIPT="" case "x$with_pdftops" in + x/*/gs) + CUPS_GHOSTSCRIPT="$with_pdftops" + with_pdftops=gs + ;; + + x/*/pdftops) + CUPS_PDFTOPS="$with_pdftops" + with_pdftops=pdftops + ;; +esac + +case "x$with_pdftops" in x) # Default/auto if test $uname != Darwin; then AC_PATH_PROG(CUPS_PDFTOPS, pdftops)