Fix issue with '--enable-locking': Do not require sub-directory for locking.

escl-fix-sleep-mode
Gerhard Jaeger 2021-01-07 12:34:34 +01:00
rodzic f0f7e43d7f
commit b0655dc03e
2 zmienionych plików z 8 dodań i 6 usunięć

10
README
Wyświetl plik

@ -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

Wyświetl plik

@ -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"