From a158339c5736321d280c42d8d1b3b1af795c2c43 Mon Sep 17 00:00:00 2001 From: "m. allan noah" Date: Mon, 31 Aug 2015 21:18:30 -0400 Subject: [PATCH] disable epsonds if no libjpeg --- acinclude.m4 | 7 +++++++ configure | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 013c0327d..a8f1b7c4c 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -604,6 +604,13 @@ for be in ${BACKENDS}; do fi ;; + epsonds) + if test "${sane_cv_use_libjpeg}" != "yes"; then + echo "*** $be backend requires JPEG library - $DISABLE_MSG" + backend_supported="no" + fi + ;; + gphoto2) if test "${HAVE_GPHOTO2}" != "true" \ -o "${sane_cv_use_libjpeg}" != "yes"; then diff --git a/configure b/configure index 3e2780256..52c234c11 100755 --- a/configure +++ b/configure @@ -18054,6 +18054,13 @@ for be in ${BACKENDS}; do fi ;; + epsonds) + if test "${sane_cv_use_libjpeg}" != "yes"; then + echo "*** $be backend requires JPEG library - $DISABLE_MSG" + backend_supported="no" + fi + ;; + gphoto2) if test "${HAVE_GPHOTO2}" != "true" \ -o "${sane_cv_use_libjpeg}" != "yes"; then @@ -18221,6 +18228,13 @@ for be in ${BACKENDS}; do fi ;; + epsonds) + if test "${sane_cv_use_libjpeg}" != "yes"; then + echo "*** $be backend requires JPEG library - $DISABLE_MSG" + backend_supported="no" + fi + ;; + gphoto2) if test "${HAVE_GPHOTO2}" != "true" \ -o "${sane_cv_use_libjpeg}" != "yes"; then