summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7c90c64..e10f8ce 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -613,7 +613,7 @@ for be in ${BACKENDS}; do
;;
escl)
- if test "x${enable_avahi}" != "xyes"; then
+ if test "x${with_avahi}" != "xyes"; then
echo "*** $be backend requires AVAHI library - $DISABLE_MSG"
backend_supported="no"
fi
@@ -629,7 +629,14 @@ for be in ${BACKENDS}; do
if test "x${sane_cv_use_libjpeg}" != "xyes"; then
echo "*** $be backend currently requires JPEG library - $DISABLE_MSG"
backend_supported="no"
+ else
+ if test "x${ac_cv_func_jpeg_crop_scanline}" != "xyes" \
+ || test "x${ac_cv_func_jpeg_skip_scanlines}" != "xyes"; then
+ echo "*** $be backend requires a newer JPEG library - $DISABLE_MSG"
+ backend_supported="no"
+ fi
fi
+
;;
gphoto2)