diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b137278c3..421eafc6f 100644 --- a/configure.ac +++ b/configure.ac @@ -2497,8 +2497,9 @@ if test x"$with_pdf" != x"no" ; then AC_ARG_WITH([pdf], AS_HELP_STRING([--with-pdf=NAME], [name of the Ghostpdf executible (if the source is available, ignored otherwise) [[gpdf]]]), [PDF="$with_pdf"],[PDF='gpdf']) - - PDF_TARGET=gpdf + if test -f $srcdir/pcl/pl/pl.mak; then + PDF_TARGET=gpdf + fi CFLAGS="-DBUILD_PDF=1 -I$srcdir/pdf $CFLAGS" GPDF_DEV="\$(PDFOBJDIR)\$(D)pdfi.dev" PDF_MAK="\$(PDFSRCDIR)\$(D)pdf.mak" |