summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2022-09-01 08:51:20 +0100
committerChris Liddell <chris.liddell@artifex.com>2022-09-02 15:59:07 +0100
commit0a21f0379060a0a1d52df9b8f89ef4d74aaf652e (patch)
tree62e735e06b68038cbd3f458c0d65660813c0811e
parent7f2719bff1d50e151918cf505fa695edc65e936f (diff)
downloadghostpdl-0a21f0379060a0a1d52df9b8f89ef4d74aaf652e.tar.gz
Make jbig2 and jpx decoders mandatory
When PDF is included.
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 318f3e82c..bb578250c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2483,6 +2483,14 @@ PDF_MAK="\$(GLSRCDIR)\$(D)stub.mak"
PDFROMFS_MAK="\$(GLSRCDIR)\$(D)stub.mak"
if test x"$with_pdf" != x"no" ; then
+
+ if test x"$JBIG2_DECODER" = x""; then
+ AC_MSG_ERROR([No JBIG2 decoder available, required for PDF support])
+ fi
+ if test x"$JPX_DECODER" = x""; then
+ AC_MSG_ERROR([No JPX/JPEG2000 decoder available, required for PDF support])
+ fi
+
if test -f $srcdir/pdf/pdf.mak; then
AC_ARG_WITH([pdf], AS_HELP_STRING([--with-pdf=NAME],
[name of the Ghostpdf executible (if the source is available, ignored otherwise) [[gpdf]]]),