kopia lustrzana https://gitlab.com/sane-project/backends
Changed order of tests for libsocket and libsyslog to avoid problems
with OS/2. Small spelling and format fixes. Henning Meier-Geinitz <henning@meier-geinitz.de>DEVEL_2_0_BRANCH-1
rodzic
1909b7f500
commit
c095f0339b
Plik diff jest za duży
Load Diff
17
configure.in
17
configure.in
|
@ -165,7 +165,6 @@ dnl Checks for Backend libraries.
|
|||
AC_CHECK_LIB(m,sqrt)
|
||||
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
|
||||
AC_CHECK_LIB(cam, cam_open_device) # FreeBSD 3+ needs this
|
||||
AC_CHECK_LIB(syslog, syslog) # OS/2 needs this
|
||||
AC_CHECK_LIB(usb, usb_open)
|
||||
|
||||
SANE_CHECK_JPEG
|
||||
|
@ -177,6 +176,7 @@ dnl to use them!
|
|||
if test "`uname`" != "IRIX" -a "`uname`" != "IRIX64"; then
|
||||
AC_CHECK_LIB(nsl,gethostbyaddr)
|
||||
AC_CHECK_LIB(socket,socket)
|
||||
AC_CHECK_LIB(syslog, syslog) # OS/2 needs this
|
||||
fi
|
||||
|
||||
dnl check for PTAL library (used in hp backend)
|
||||
|
@ -301,8 +301,8 @@ fi
|
|||
|
||||
AC_ARG_ENABLE(pnm-backend,
|
||||
[ --enable-pnm-backend enable the pnm backend for testing frontends. Warning:
|
||||
This will be a security risk if used together with saned.
|
||||
See PROBLEMS file for details. [default=no]],
|
||||
This will be a security risk if used together with
|
||||
saned. See PROBLEMS file for details. [default=no]],
|
||||
[PNM="pnm"], [PNM=""])
|
||||
AC_SUBST(PNM)
|
||||
|
||||
|
@ -315,12 +315,11 @@ AC_DEFINE_UNQUOTED(SCSIBUFFERSIZE, $set_scsibuffersize,
|
|||
echo "scsi buffersize: $set_scsibuffersize"
|
||||
|
||||
AC_ARG_ENABLE(scsi-directio,
|
||||
[ --enable-scsi-directio enable SCSI direct IO (Linux only; can lead to
|
||||
crashes with backends using shared memory)
|
||||
[default=no]
|
||||
[ --enable-scsi-directio enable SCSI direct IO (Linux only; can lead to crashes
|
||||
with backends using shared memory). [default=no]
|
||||
This option is in no way related to
|
||||
--enable-parport-directio. See README.linux for
|
||||
more information],
|
||||
--enable-parport-directio. See README.linux for more
|
||||
information.],
|
||||
[
|
||||
if eval "test x$enable_scsi_directio = xyes"; then
|
||||
CFLAGS="$CFLAGS -DENABLE_SCSI_DIRECTIO"
|
||||
|
@ -329,7 +328,7 @@ AC_ARG_ENABLE(scsi-directio,
|
|||
|
||||
AC_ARG_ENABLE(parport-directio,
|
||||
[ --enable-parport-directio enable parallel port direct IO
|
||||
XXXX short descrption needed [default=no]
|
||||
XXXX short description needed. [default=no]
|
||||
This option is in no way related to
|
||||
--enable-scsi-directio],
|
||||
[
|
||||
|
|
Ładowanie…
Reference in New Issue