--- hpoj-0.91.old/configure +++ hpoj-0.91/configure @@ -3117,7 +3117,7 @@ SANE_BACKEND_DIR_POSSIBILITIES="$SANE_BACKEND_DIR_POSSIBILITIES /usr/local/lib/sane /usr/lib/sane /usr/X11*/lib/sane" for dir in $SANE_BACKEND_DIR_POSSIBILITIES ; do - for file in $dir/libsane-dll.so* ; do + for file in $dir/libsane*.so* ; do if test -f $file ; then SANE_BACKEND_DIR=$dir break 2