diff --git a/ChangeLog b/ChangeLog index 0528aebe2..2d3d13910 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-06 Jochen Eisinger + + * backend/mustek_pp.c: clarify error message + * configure.in: only build the mustek_pp backend, if parallel + port support of any kind is present + 2004-09-06 Gerhard Jaeger * backend/plustek.c: Bumped build number. diff --git a/backend/mustek_pp.c b/backend/mustek_pp.c index 553dbb488..9cf54a429 100644 --- a/backend/mustek_pp.c +++ b/backend/mustek_pp.c @@ -671,7 +671,8 @@ attach_device(SANE_String *driver, SANE_String *name, if (found == 0) { - DBG (1, "sane_init: invalid driver name ``%s''\n", *driver); + DBG (1, "sane_init: no scanner detected\n"); + DBG (3, "sane_init: either the driver name ``%s'' is invalid, or no scanner was detected\n", *driver); } free (*name); diff --git a/configure.in b/configure.in index 4b5a2598b..56b5b816f 100644 --- a/configure.in +++ b/configure.in @@ -296,7 +296,7 @@ else BACKENDS="abaton agfafocus apple artec as6e avision bh canon \ canon630u coolscan coolscan2 dc25 dmc \ epson fujitsu gt68xx hp leo matsushita microtek \ - microtek2 mustek mustek_pp mustek_usb nec pie plustek \ + microtek2 mustek mustek_usb nec pie plustek \ plustek_pp ricoh s9036 sceptre sharp \ sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \ artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash" @@ -320,6 +320,14 @@ else BACKENDS="${BACKENDS} canon_pp hpsj5s" fi + if test "${sane_cv_use_libieee1284}" != "yes" && test "${enable_parport_directio}" != "yes" + then + echo "*** disabling MUSTEK_PP backend (failed to find libieee1284 library" + echo "*** and parport-directio is disabled)" + else + BACKENDS="${BACKENDS} mustek_pp" + fi + if test "${HAVE_GPHOTO2}" != "true" \ -o "${sane_cv_use_libjpeg}" != "yes"; then echo "*** disabling GPHOTO2 backend (not requested, or failed to find required libraries)"