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
19
configure.in
19
configure.in
|
@ -165,7 +165,6 @@ dnl Checks for Backend libraries.
|
||||||
AC_CHECK_LIB(m,sqrt)
|
AC_CHECK_LIB(m,sqrt)
|
||||||
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
|
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
|
||||||
AC_CHECK_LIB(cam, cam_open_device) # FreeBSD 3+ 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)
|
AC_CHECK_LIB(usb, usb_open)
|
||||||
|
|
||||||
SANE_CHECK_JPEG
|
SANE_CHECK_JPEG
|
||||||
|
@ -177,6 +176,7 @@ dnl to use them!
|
||||||
if test "`uname`" != "IRIX" -a "`uname`" != "IRIX64"; then
|
if test "`uname`" != "IRIX" -a "`uname`" != "IRIX64"; then
|
||||||
AC_CHECK_LIB(nsl,gethostbyaddr)
|
AC_CHECK_LIB(nsl,gethostbyaddr)
|
||||||
AC_CHECK_LIB(socket,socket)
|
AC_CHECK_LIB(socket,socket)
|
||||||
|
AC_CHECK_LIB(syslog, syslog) # OS/2 needs this
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl check for PTAL library (used in hp backend)
|
dnl check for PTAL library (used in hp backend)
|
||||||
|
@ -301,8 +301,8 @@ fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(pnm-backend,
|
AC_ARG_ENABLE(pnm-backend,
|
||||||
[ --enable-pnm-backend enable the pnm backend for testing frontends. Warning:
|
[ --enable-pnm-backend enable the pnm backend for testing frontends. Warning:
|
||||||
This will be a security risk if used together with saned.
|
This will be a security risk if used together with
|
||||||
See PROBLEMS file for details. [default=no]],
|
saned. See PROBLEMS file for details. [default=no]],
|
||||||
[PNM="pnm"], [PNM=""])
|
[PNM="pnm"], [PNM=""])
|
||||||
AC_SUBST(PNM)
|
AC_SUBST(PNM)
|
||||||
|
|
||||||
|
@ -315,12 +315,11 @@ AC_DEFINE_UNQUOTED(SCSIBUFFERSIZE, $set_scsibuffersize,
|
||||||
echo "scsi buffersize: $set_scsibuffersize"
|
echo "scsi buffersize: $set_scsibuffersize"
|
||||||
|
|
||||||
AC_ARG_ENABLE(scsi-directio,
|
AC_ARG_ENABLE(scsi-directio,
|
||||||
[ --enable-scsi-directio enable SCSI direct IO (Linux only; can lead to
|
[ --enable-scsi-directio enable SCSI direct IO (Linux only; can lead to crashes
|
||||||
crashes with backends using shared memory)
|
with backends using shared memory). [default=no]
|
||||||
[default=no]
|
|
||||||
This option is in no way related to
|
This option is in no way related to
|
||||||
--enable-parport-directio. See README.linux for
|
--enable-parport-directio. See README.linux for more
|
||||||
more information],
|
information.],
|
||||||
[
|
[
|
||||||
if eval "test x$enable_scsi_directio = xyes"; then
|
if eval "test x$enable_scsi_directio = xyes"; then
|
||||||
CFLAGS="$CFLAGS -DENABLE_SCSI_DIRECTIO"
|
CFLAGS="$CFLAGS -DENABLE_SCSI_DIRECTIO"
|
||||||
|
@ -329,8 +328,8 @@ AC_ARG_ENABLE(scsi-directio,
|
||||||
|
|
||||||
AC_ARG_ENABLE(parport-directio,
|
AC_ARG_ENABLE(parport-directio,
|
||||||
[ --enable-parport-directio enable parallel port direct IO
|
[ --enable-parport-directio enable parallel port direct IO
|
||||||
XXXX short descrption needed [default=no]
|
XXXX short description needed. [default=no]
|
||||||
This option is inno way related to
|
This option is in no way related to
|
||||||
--enable-scsi-directio],
|
--enable-scsi-directio],
|
||||||
[
|
[
|
||||||
if eval "test x$enable_parport_directio = xyes"; then
|
if eval "test x$enable_parport_directio = xyes"; then
|
||||||
|
|
Ładowanie…
Reference in New Issue