diff --git a/README b/README index 3614b8d9d..a78654211 100644 --- a/README +++ b/README @@ -134,10 +134,12 @@ configure options, there are the following SANE specific options: Means, that some backends will use a lockfile for allowing multiple access to one scanner. This is useful, i.e. one frontend is scanning the button status and another one will scan. The path to the lock - files is define by --localstatedir at the configure step and is - $localstatedir/lock/sane. The default group is uucp and can be - changed by using --with-group=newgroup. If you do not want any - backend to use a lockfile, simply use --disable-locking. + files is defined by --localstatedir at the configure step and is + $localstatedir/lock. The default group is uucp and can be changed + by using --with-group=newgroup. If you do not want any backend to + use a lockfile, simply use --disable-locking. + Note: The Plustek backend is currently the only backend that makes + use of this feature. To limit the backends that are compiled, set the variable BACKENDS to the list of backends to compile. The following will limit compiling diff --git a/configure.ac b/configure.ac index d0d6f62f8..4227086a7 100644 --- a/configure.ac +++ b/configure.ac @@ -628,8 +628,8 @@ esac dnl Check for lock dir AC_ARG_WITH(lockdir, AS_HELP_STRING([--with-lockdir=DIR], - [set SANE lockdir @<:@localstatedir/lock/sane@:>@]), - [locksanedir=$withval],[locksanedir=${localstatedir}/lock/sane]) + [set SANE lockdir @<:@localstatedir/lock@:>@]), + [locksanedir=$withval],[locksanedir=${localstatedir}/lock]) AC_SUBST(locksanedir) configdir="${sysconfdir}/sane.d"