summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>2006-07-04 19:01:47 +0000
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>2006-07-04 19:01:47 +0000
commit33bf9a3f4ccdc3b7fc26115e0d94d82c558991f3 (patch)
treecd9a3bfabab6f9ad7e36aedd7d7b0e20ef9c19cd /configure.ac
parent1398c14781227f75300aaf33a53af5576fab2f71 (diff)
downloadlibtiff-git-33bf9a3f4ccdc3b7fc26115e0d94d82c558991f3.tar.gz
* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and its use does not appear to be required, so use it only when it is available.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7b03fbde..a8562af7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -451,6 +451,9 @@ if test "$HAVE_JBIG" = "yes" ; then
LIBDIR="-R $with_jbig_lib_dir $LIBDIR"
fi
+ # Older versions of jbigkit lack jbg_newlen
+ AC_CHECK_FUNCS([jbg_newlen])
+
fi
dnl ---------------------------------------------------------------------------