From dd0b9dae71d727cc51a0e32912bc4df5036c16ac Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Sat, 7 Apr 2001 18:58:36 +0000 Subject: [PATCH] 2001-04-07 Henning Meier-Geinitz * backend/sc240.c backend/dc240.h backend/dc240.conf backend/dc240.desc backend/dll.conf doc/sane-dc240.man: Added dc240 backend for the Kodak DC240 Digital camera (from Peter Fales ). * doc/Makefile.in: Added sane-dc240 in section 5. * backend/Makefile.in: Added dc240. * configure configure.in: If the jpeg libs are not available, dc240 is also disabled. * AUTHORS: Added entry for dc240 and updated email address of Peter Fales. * NEWS: First version of the news entry for 1.0.5. * PROJECTS: Removed dc240. Added Microrec ScanMaker 3600. * README: Added dc240. * TODO: Removed dc240. Added entry about keep-alive mechanism in saned. * sane-backends.lsm: Added dc240. * testsuite/.cvsignore: New file. Added entry for Makefile. --- configure | 15 ++++++++++++--- configure.in | 7 +++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/configure b/configure index f0dc1482f..137a34fb7 100755 --- a/configure +++ b/configure @@ -4019,13 +4019,16 @@ CPPFLAGS="${CPPFLAGS} -DPATH_SANE_CONFIG_DIR=\$(configdir) \ -DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR}" if test "${sane_cv_use_libjpeg}" != "yes"; then - echo "disabling DC210 backend (failed to find JPEG library)" + echo "disabling DC210/DC240 backends (failed to find JPEG library)" DC210= + DC240= else - echo "enabling DC210 backend" + echo "enabling DC210/DC240 backends" DC210=dc210 + DC240=dc240 fi + if test "${ac_cv_header_sys_scanio_h}" = "no"; then echo "disabling PINT backend" PINT= @@ -4082,7 +4085,10 @@ else set_scsibuffersize=131072 fi -CFLAGS="$CFLAGS -DSCSIBUFFERSIZE=$set_scsibuffersize" +cat >> confdefs.h <> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF diff --git a/configure.in b/configure.in index 2d0b41c0d..fe28b5201 100644 --- a/configure.in +++ b/configure.in @@ -170,13 +170,16 @@ CPPFLAGS="${CPPFLAGS} -DPATH_SANE_CONFIG_DIR=\$(configdir) \ -DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR}" if test "${sane_cv_use_libjpeg}" != "yes"; then - echo "disabling DC210 backend (failed to find JPEG library)" + echo "disabling DC210/DC240 backends (failed to find JPEG library)" DC210= + DC240= else - echo "enabling DC210 backend" + echo "enabling DC210/DC240 backends" DC210=dc210 + DC240=dc240 fi AC_SUBST(DC210) +AC_SUBST(DC240) if test "${ac_cv_header_sys_scanio_h}" = "no"; then echo "disabling PINT backend" PINT=