kopia lustrzana https://gitlab.com/sane-project/backends
sanei_scsi.c: Fixed a buf in the rror handling for the Linux SG driver v3.x;
disabled direct IO by defaultDEVEL_2_0_BRANCH-1
rodzic
43f4972b38
commit
2480c257f6
Plik diff jest za duży
Load Diff
10
configure.in
10
configure.in
|
@ -243,6 +243,16 @@ AC_DEFINE_UNQUOTED(SCSIBUFFERSIZE, $set_scsibuffersize,
|
|||
[SCSI command buffer size])
|
||||
echo "scsi buffersize: $set_scsibuffersize"
|
||||
|
||||
AC_ARG_ENABLE(directio,
|
||||
[ --enable-directio enable direct IO (Linux only; can lead to
|
||||
crashes
|
||||
with backends using shared memory) [default=no]],
|
||||
[
|
||||
if eval "test x$enable_directio = xyes"; then
|
||||
CFLAGS="$CFLAGS -DENABLE_DIRECTIO"
|
||||
fi
|
||||
])
|
||||
|
||||
AC_SUBST(V_MAJOR)
|
||||
AC_SUBST(V_MINOR)
|
||||
AC_SUBST(V_REV)
|
||||
|
|
Ładowanie…
Reference in New Issue