Update to autoconf-2.69

This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.

This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes.  Changes to acinclude.m4 were added
by hand.
merge-requests/1/head
Olaf Meeuwissen 2015-10-22 22:18:19 +09:00
rodzic 2d6fad58b4
commit d3d5dc3da0
17 zmienionych plików z 75 dodań i 80 usunięć

Wyświetl plik

@ -39,7 +39,7 @@ if test "${ac_cv_c_compiler_gnu}" = "yes"; then
done
AC_ARG_ENABLE(warnings,
AC_HELP_STRING([--enable-warnings],
AS_HELP_STRING([--enable-warnings],
[turn on tons of compiler warnings (GCC only)]),
[
if eval "test x$enable_warnings = xyes"; then
@ -181,10 +181,10 @@ AC_DEFUN([SANE_CHECK_IEEE1284],
[
AC_CHECK_HEADER(ieee1284.h, [
AC_CACHE_CHECK([for libieee1284 >= 0.1.5], sane_cv_use_libieee1284, [
AC_TRY_COMPILE([#include <ieee1284.h>], [
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <ieee1284.h>], [
struct parport p; char *buf;
ieee1284_nibble_read(&p, 0, buf, 1);
],
])],
[sane_cv_use_libieee1284="yes"; IEEE1284_LIBS="-lieee1284"
],[sane_cv_use_libieee1284="no"])
],)
@ -214,7 +214,7 @@ AC_DEFUN([SANE_CHECK_PTHREAD],
# the user
AC_ARG_ENABLE([pthread],
AC_HELP_STRING([--enable-pthread],
AS_HELP_STRING([--enable-pthread],
[use pthread instead of fork (default=yes for Linux/MacOS X/MINGW, no for everything else)]),
[
if test $enableval = yes ; then
@ -319,7 +319,7 @@ AC_DEFUN([SANE_CHECK_LOCKING],
#
# we check the user
AC_ARG_ENABLE( [locking],
AC_HELP_STRING([--enable-locking],
AS_HELP_STRING([--enable-locking],
[activate device locking (default=yes, but only used by some backends)]),
[
if test $enableval = yes ; then
@ -330,7 +330,7 @@ AC_DEFUN([SANE_CHECK_LOCKING],
])
if test $use_locking = yes ; then
AC_ARG_WITH([group],
AC_HELP_STRING([--with-group],
AS_HELP_STRING([--with-group],
[use the specified group for lock dir @<:@default=uucp@:>@]),
[LOCKPATH_GROUP="$withval"]
)
@ -430,7 +430,7 @@ AC_CHECK_TYPES([u_char, u_short, u_int, u_long],,,)
AC_DEFUN([SANE_CHECK_GPHOTO2],
[
AC_ARG_WITH(gphoto2,
AC_HELP_STRING([--with-gphoto2],
AS_HELP_STRING([--with-gphoto2],
[include the gphoto2 backend @<:@default=yes@:>@]),
[# If --with-gphoto2=no or --without-gphoto2, disable backend
# as "$with_gphoto2" will be set to "no"])
@ -484,7 +484,7 @@ AC_DEFUN([SANE_CHECK_IPV6],
[
AC_MSG_CHECKING([whether to enable IPv6])
AC_ARG_ENABLE(ipv6,
AC_HELP_STRING([--disable-ipv6],[disable IPv6 support]),
AS_HELP_STRING([--disable-ipv6],[disable IPv6 support]),
[ if test "$enableval" = "no" ; then
AC_MSG_RESULT([no, manually disabled])
ipv6=no
@ -492,7 +492,7 @@ AC_DEFUN([SANE_CHECK_IPV6],
])
if test "$ipv6" != "no" ; then
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#define INET6
#include <sys/types.h>
#include <sys/socket.h> ], [
@ -501,7 +501,7 @@ AC_DEFUN([SANE_CHECK_IPV6],
exit(1);
else
exit(0);
],[
])],[
AC_MSG_RESULT(yes)
AC_DEFINE([ENABLE_IPV6], 1, [Define to 1 if the system supports IPv6])
ipv6=yes
@ -513,7 +513,7 @@ AC_DEFUN([SANE_CHECK_IPV6],
if test "$ipv6" != "no" ; then
AC_MSG_CHECKING([whether struct sockaddr_storage has an ss_family member])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#define INET6
#include <sys/types.h>
#include <sys/socket.h> ], [
@ -521,11 +521,11 @@ AC_DEFUN([SANE_CHECK_IPV6],
struct sockaddr_storage ss;
ss.ss_family = AF_INET;
exit (0);
], [
])], [
AC_MSG_RESULT(yes)
AC_DEFINE([HAS_SS_FAMILY], 1, [Define to 1 if struct sockaddr_storage has an ss_family member])
], [
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#define INET6
#include <sys/types.h>
#include <sys/socket.h> ], [
@ -533,7 +533,7 @@ AC_DEFUN([SANE_CHECK_IPV6],
struct sockaddr_storage ss;
ss.__ss_family = AF_INET;
exit (0);
], [
])], [
AC_MSG_RESULT([no, but __ss_family exists])
AC_DEFINE([HAS___SS_FAMILY], 1, [Define to 1 if struct sockaddr_storage has __ss_family instead of ss_family])
], [

Wyświetl plik

@ -1785,14 +1785,14 @@ artec48u_device_read_prepare (Artec48U_Device * dev, size_t expected_count)
return SANE_STATUS_GOOD;
}
static RETSIGTYPE
static void
reader_process_sigterm_handler (int signal)
{
XDBG ((1, "reader_process: terminated by signal %d\n", signal));
_exit (SANE_STATUS_GOOD);
}
static RETSIGTYPE
static void
usb_reader_process_sigterm_handler (int signal)
{
XDBG ((1, "reader_process (usb): terminated by signal %d\n", signal));
@ -3372,7 +3372,7 @@ close_pipe (Artec48U_Scanner * s)
}
return SANE_STATUS_EOF;
}
static RETSIGTYPE
static void
sigalarm_handler (int __sane_unused__ signal)
{
XDBG ((1, "ALARM!!!\n"));

Wyświetl plik

@ -2154,7 +2154,7 @@ attach_one (const char *devName)
return attach_scanner(devName, 0);
}
static RETSIGTYPE
static void
sigterm_handler (int signal)
{
signal = signal;

Wyświetl plik

@ -1011,7 +1011,7 @@ hp_scsi_read (HpScsi this, void * dest, size_t *len, int isResponse)
static int signal_caught = 0;
static RETSIGTYPE
static void
signal_catcher (int sig)
{
DBG(1,"signal_catcher(sig=%d): old signal_caught=%d\n",sig,signal_caught);

Wyświetl plik

@ -1985,7 +1985,7 @@ parse_config_file(FILE *fp, Config_Temp **ct)
/*---------- signal_handler() ------------------------------------------------*/
static RETSIGTYPE
static void
signal_handler (int signal)
{
if ( signal == SIGTERM )

Wyświetl plik

@ -1307,7 +1307,7 @@ set_option_dependencies(Microtek2_Scanner *,
static SANE_Status
shading_function(Microtek2_Scanner *, uint8_t *);
static RETSIGTYPE
static void
signal_handler (int);
static SANE_Status

Wyświetl plik

@ -4824,7 +4824,7 @@ output_data (Mustek_Scanner * s, FILE * fp,
DBG (5, "output_data: end\n");
}
static RETSIGTYPE
static void
sigterm_handler (int signal)
{
DBG (4,

Wyświetl plik

@ -237,7 +237,7 @@ do_stop(Mustek_pp_Handle *hndl)
*/
static int fd_to_release = 0;
/*ARGSUSED*/
static RETSIGTYPE
static void
sigterm_handler (int signal __UNUSED__)
{
sanei_pa4s2_enable(fd_to_release, SANE_FALSE);

Wyświetl plik

@ -2781,7 +2781,7 @@ pie_reader_process (Pie_Scanner * scanner, FILE * fp)
/* --------------------------------- READER PROCESS SIGTERM HANDLER ------------ */
static RETSIGTYPE
static void
reader_process_sigterm_handler (int signal)
{
DBG (DBG_sane_info, "reader_process: terminated by signal %d\n", signal);

Wyświetl plik

@ -928,7 +928,7 @@ init_option_descriptors (pixma_sane_t * ss)
/* Writing to reader_ss outside reader_process() is a BUG! */
static pixma_sane_t *reader_ss = NULL;
static RETSIGTYPE
static void
reader_signal_handler (int sig)
{
if (reader_ss)

Wyświetl plik

@ -416,21 +416,21 @@ sig_chldhandler( int signo )
/** signal handler to kill the child process
*/
static RETSIGTYPE
static void
reader_process_sigterm_handler( int signo )
{
DBG( _DBG_PROC, "(SIG) reader_process: terminated by signal %d\n", signo );
_exit( SANE_STATUS_GOOD );
}
static RETSIGTYPE
static void
usb_reader_process_sigterm_handler( int signo )
{
DBG( _DBG_PROC, "(SIG) reader_process: terminated by signal %d\n", signo );
cancelRead = SANE_TRUE;
}
static RETSIGTYPE
static void
sigalarm_handler( int signo )
{
_VAR_NOT_USED( signo );

Wyświetl plik

@ -348,13 +348,13 @@ static void sig_chldhandler( int signo )
/** signal handler to kill the child process
*/
static RETSIGTYPE reader_process_sigterm_handler( int signo )
static void reader_process_sigterm_handler( int signo )
{
DBG( _DBG_PROC, "reader_process: terminated by signal %d\n", signo );
_exit( SANE_STATUS_GOOD );
}
static RETSIGTYPE sigalarm_handler( int signo )
static void sigalarm_handler( int signo )
{
_VAR_NOT_USED( signo );
DBG( _DBG_PROC, "ALARM!!!\n" );

Wyświetl plik

@ -1217,13 +1217,13 @@ static void reader (SnapScan_Scanner *pss)
/** signal handler to kill the child process
*/
static RETSIGTYPE usb_reader_process_sigterm_handler( int signo )
static void usb_reader_process_sigterm_handler( int signo )
{
DBG( DL_INFO, "(SIG) reader_process: terminated by signal %d\n", signo );
cancelRead = SANE_TRUE;
}
static RETSIGTYPE sigalarm_handler( int signo UNUSEDARG)
static void sigalarm_handler( int signo UNUSEDARG)
{
DBG( DL_INFO, "ALARM!!!\n" );
}

Wyświetl plik

@ -278,19 +278,19 @@ static void sig_chldhandler( int signo )
/** signal handler to kill the child process
*/
static RETSIGTYPE reader_process_sigterm_handler( int signo )
static void reader_process_sigterm_handler( int signo )
{
DBG( _DBG_PROC, "(SIG) reader_process: terminated by signal %d\n", signo );
_exit( SANE_STATUS_GOOD );
}
static RETSIGTYPE usb_reader_process_sigterm_handler( int signo )
static void usb_reader_process_sigterm_handler( int signo )
{
DBG( _DBG_PROC, "(SIG) reader_process: terminated by signal %d\n", signo );
cancelRead = SANE_TRUE;
}
static RETSIGTYPE sigalarm_handler( int signo )
static void sigalarm_handler( int signo )
{
_VAR_NOT_USED( signo );
DBG( _DBG_PROC, "ALARM!!!\n" );

Wyświetl plik

@ -4928,7 +4928,7 @@ static SANE_Status attach_scanner(const char *devicename, Umax_Device **devp, in
/* ------------------------------------------------------------ READER PROCESS SIGTERM HANDLER ------------ */
static RETSIGTYPE reader_process_sigterm_handler(int signal)
static void reader_process_sigterm_handler(int signal)
{
DBG(DBG_sane_info,"reader_process: terminated by signal %d\n", signal);

Wyświetl plik

@ -19,7 +19,7 @@ dnl known timestamp issues.
AM_MAINTAINER_MODE
AC_CONFIG_HEADERS([include/sane/config.h])
AC_PREREQ(2.54) dnl Minimum Autoconf version required.
AC_PREREQ(2.69) dnl Minimum Autoconf version required.
PACKAGE=AC_PACKAGE_NAME
VERSION=AC_PACKAGE_VERSION
@ -42,7 +42,7 @@ AC_CANONICAL_HOST
dnl no bloody way to have a decent --docdir...
AC_ARG_WITH(docdir,
AC_HELP_STRING([--with-docdir=DIR],
AS_HELP_STRING([--with-docdir=DIR],
[documentation @<:@PREFIX/doc/sane-VERSION@:>@]),
[
docdir="${withval}"
@ -89,11 +89,8 @@ SANE_LINKER_RPATH
dnl ***********************************************************************
dnl Checks for unix variants
dnl ***********************************************************************
m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_USE_SYSTEM_EXTENSIONS])
m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[AC_GNU_SOURCE])
m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[AC_AIX])
m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[AC_MINIX])
AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
AC_SEARCH_LIBS([strerror],[cposix])
AC_NEED_BYTEORDER_H([include/byteorder.h])
AX_CREATE_STDINT_H([include/_stdint.h])
@ -102,7 +99,7 @@ dnl ***********************************************************************
dnl Checks for libraries
dnl ***********************************************************************
AC_ARG_ENABLE(dynamic,
AC_HELP_STRING([--disable-dynamic],
AS_HELP_STRING([--disable-dynamic],
[Disable dynamic loading of backends]),
[enable_dynamic=$enableval], [enable_dynamic=auto])
SANE_CHECK_DLL_LIB
@ -129,7 +126,7 @@ SANE_CHECK_GPHOTO2
AC_ARG_WITH(v4l,
AC_HELP_STRING([--with-v4l],
AS_HELP_STRING([--with-v4l],
[include the v4l backend @<:@default=yes@:>@]),
[# If --with-v4l=no or --without-v4l, disable backend
# as "$with_v4l" will be set to "no"])
@ -139,7 +136,7 @@ if test "$with_v4l" != "no" ; then
fi
AC_ARG_ENABLE(avahi,
AC_HELP_STRING([--enable-avahi], [enable Avahi support for saned and the net backend]),
AS_HELP_STRING([--enable-avahi], [enable Avahi support for saned and the net backend]),
[enable_avahi=$enableval], [enable_avahi=no])
if test "$enable_avahi" = "yes"; then
@ -156,7 +153,7 @@ dnl SNMP CHECKS
dnl **************************************************************
AC_ARG_WITH(snmp,
AC_HELP_STRING([--with-snmp], [enable SNMP support @<:@default=yes@:>@]))
AS_HELP_STRING([--with-snmp], [enable SNMP support @<:@default=yes@:>@]))
if test "$with_snmp" = "no"; then
echo "Not including SNMP support"
@ -225,33 +222,33 @@ AC_SUBST(RESMGR_LIBS)
dnl ***********************************************************************
dnl Checks for types and structures
dnl ***********************************************************************
AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
AC_TYPE_PID_T
AC_CHECK_TYPE(ssize_t, long)
AC_TYPE_SSIZE_T
SANE_CHECK_U_TYPES
# from Python, check for "long long" type
AC_MSG_CHECKING(for long long support)
have_long_long=no
AC_TRY_COMPILE([], [long long x; x = (long long)0;], AC_DEFINE(HAVE_LONG_LONG, 1, [Define if the long long type is available.]) have_long_long=yes)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [long long x; x = (long long)0;])],[AC_DEFINE(HAVE_LONG_LONG, 1, Define if the long long type is available.) have_long_long=yes],[])
AC_MSG_RESULT($have_long_long)
AC_MSG_CHECKING([for socklen_t in <sys/socket.h>])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <sys/socket.h>
],[socklen_t len],AC_MSG_RESULT(yes),
], [socklen_t len])],AC_MSG_RESULT(yes),
[AC_MSG_RESULT(no); AC_DEFINE(socklen_t,int,
[Define socklen_t as \'int\' if necessary.])])
AC_MSG_CHECKING([for union semun in <sys/sem.h>])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
],[union semun test_semun],[AC_MSG_RESULT(yes);
], [union semun test_semun])],[AC_MSG_RESULT(yes);
AC_DEFINE(HAVE_UNION_SEMUN,1,[Define if union semun is available.])],
AC_MSG_RESULT(no))
[AC_MSG_RESULT(no)])
AC_MSG_CHECKING([for struct flock in fcntl.h])
AC_EGREP_HEADER([struct flock], fcntl.h, [AC_MSG_RESULT(yes) ;
@ -259,12 +256,12 @@ AC_EGREP_HEADER([struct flock], fcntl.h, [AC_MSG_RESULT(yes) ;
[Define if struct flock is available.])], AC_MSG_RESULT(no))
AC_MSG_CHECKING([for Linux ioctl defines])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <sys/ioctl.h>
#include <asm/types.h>
],[
__u32 houba = _IOR('v',14, unsigned long);
],[AC_MSG_RESULT(yes);
])],[AC_MSG_RESULT(yes);
have_linux_ioctl_defines="yes";],AC_MSG_RESULT(no))
dnl ***********************************************************************
@ -363,7 +360,7 @@ dnl with_cups="no"
dnl fi
AC_ARG_WITH(systemd,
AC_HELP_STRING([--with-systemd], [enable systemd support @<:@default=yes@:>@]))
AS_HELP_STRING([--with-systemd], [enable systemd support @<:@default=yes@:>@]))
if test "x$with_systemd" != xno ; then
PKG_CHECK_MODULES(SYSTEMD, [libsystemd], have_systemd=yes, have_systemd=no)
if test "x$have_systemd" = xno; then
@ -385,14 +382,14 @@ dnl ***********
dnl Enable libusb-1.0, if available
AC_ARG_ENABLE(libusb_1_0,
AC_HELP_STRING([--enable-libusb_1_0], [enable libusb-1.0 support if available]),
AS_HELP_STRING([--enable-libusb_1_0], [enable libusb-1.0 support if available]),
[enable_libusb_1_0=$enableval], [enable_libusb_1_0=no])
dnl USB support enabled by default (if found). Note: Overloading libusb
dnl option right now to disable USB support on any platform; even
dnl if they use a different library name.
AC_ARG_ENABLE(libusb,
AC_HELP_STRING([--disable-libusb], [disable support for USB in SANE]),,
AS_HELP_STRING([--disable-libusb], [disable support for USB in SANE]),,
enable_libusb=auto)
HAVE_USB=no
if test "$enable_libusb" != "no"; then
@ -490,14 +487,13 @@ dnl FreeBSD < 3
if test "$ac_cv_header_sys_scsiio_h" = "yes" \
-a "$ac_cv_header_scsi_h" = "yes"; then
AC_MSG_CHECKING([if 'scsireq_t' needs to be defined as 'struct scsireq'])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <sys/scsiio.h>
#include <scsi.h>
],[scsireq_t req],,
], [scsireq_t req])],,
[AC_MSG_RESULT(yes);
AC_DEFINE(scsireq_t, struct scsireq_t,
[Define scsireq_t as \'struct scsireq\' if necessary.])],
AC_MSG_RESULT(no))
[Define scsireq_t as \'struct scsireq\' if necessary.])])
fi
AC_CHECK_LIB(scsi, scsireq_enter, SCSI_LIBS="-lscsi") # FreeBSD needs this
@ -508,14 +504,14 @@ AC_CHECK_FUNCS(scsireq_enter)
if test "$ac_cv_header_scsi_sg_h" = "yes"; then
AC_MSG_CHECKING([for sg_header.target_status in <scsi/sg.h>])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <sys/types.h>
#include <scsi/sg.h>
],[
struct sg_header hdr;
hdr.target_status = 1;
return 0;
],[AC_MSG_RESULT(yes);
])],[AC_MSG_RESULT(yes);
AC_DEFINE(HAVE_SG_TARGET_STATUS,1,
[Define if sg_header.target_status is available.])],
AC_MSG_RESULT(no))
@ -523,13 +519,13 @@ fi
if test "$ac_cv_header_IOKit_scsi_SCSITaskLib_h" = "yes"; then
AC_MSG_CHECKING([for SCSITaskSGElement in IOKit/scsi/SCSITaskLib.h])
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#undef VERSION
#include <IOKit/scsi/SCSITaskLib.h>
],[
SCSITaskSGElement range;
return 0;
],[AC_MSG_RESULT(yes);
])],[AC_MSG_RESULT(yes);
AC_DEFINE(HAVE_SCSITASKSGELEMENT, 1,
[Define if SCSITaskSGElement is available.])],
AC_MSG_RESULT(no))
@ -544,7 +540,7 @@ fi
AC_SUBST(SCSI_LIBS)
AC_ARG_ENABLE(scsibuffersize,
AC_HELP_STRING([--enable-scsibuffersize=N],
AS_HELP_STRING([--enable-scsibuffersize=N],
[specify the default size in bytes of the buffer for SCSI
commands @<:@default=131072@:>@]),
[set_scsibuffersize="$enableval"], [set_scsibuffersize=131072])
@ -556,7 +552,7 @@ dnl only printed when used.
echo "scsi buffersize: $set_scsibuffersize"
AC_ARG_ENABLE(scsi-directio,
AC_HELP_STRING([--enable-scsi-directio],
AS_HELP_STRING([--enable-scsi-directio],
[enable SCSI direct IO (Linux only, dangerous, see
README.linux)]),
[
@ -581,13 +577,12 @@ dnl ***********************************************************************
dnl initialize libtool
dnl ***********************************************************************
AC_ARG_ENABLE(preload,
AC_HELP_STRING([--disable-preload],
AS_HELP_STRING([--disable-preload],
[Disable preloading of backends]),
[enable_preload=$enableval], [enable_preload=auto])
AC_LIBTOOL_WIN32_DLL
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
LT_INIT([win32-dll])
dnl Windows (cygwin/mingw), BeOS, and OS/2 need this.
case $host_os in
@ -597,7 +592,7 @@ esac
dnl Check for lock dir
AC_ARG_WITH(lockdir, AC_HELP_STRING([--with-lockdir=DIR],
AC_ARG_WITH(lockdir, AS_HELP_STRING([--with-lockdir=DIR],
[set SANE lockdir @<:@localstatedir/lock/sane@:>@]),
[locksanedir=$withval],[locksanedir=${localstatedir}/lock/sane])
AC_SUBST(locksanedir)
@ -626,7 +621,7 @@ AM_CONDITIONAL(COMPILE_SANED, test x$SANED = xsaned)
dnl These are the backends that are build in any case:
AC_ARG_ENABLE(local-backends,
AC_HELP_STRING([--disable-local-backends],
AS_HELP_STRING([--disable-local-backends],
[turn off compilation of all backends but net]))
ALL_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e \
@ -672,7 +667,7 @@ AM_CONDITIONAL(HAVE_JPEG, test x$sane_cv_use_libjpeg = xyes)
AC_SUBST(SANEI_SANEI_JPEG_LO)
AC_ARG_ENABLE(pnm-backend,
AC_HELP_STRING([--enable-pnm-backend],
AS_HELP_STRING([--enable-pnm-backend],
[enable the pnm backend for testing frontends (possible security risk, see PROBLEMS file)]),
[FILTERED_BACKENDS="${FILTERED_BACKENDS} pnm"],
[echo "*** pnm backend not manually selected - disabling"])
@ -757,7 +752,7 @@ case $host_os in
esac
AC_ARG_ENABLE(parport-directio,
AC_HELP_STRING([--enable-parport-directio],
AS_HELP_STRING([--enable-parport-directio],
[enable direct hardware access to the parallel port, so
frontends will require special permission level]),
[
@ -767,7 +762,7 @@ AC_ARG_ENABLE(parport-directio,
])
AC_ARG_ENABLE(translations,
AC_HELP_STRING([--disable-translations],
AS_HELP_STRING([--disable-translations],
[don't install translations of backend options]),,
enable_translations=yes)
if eval "test x$enable_translations = xyes" ; then
@ -783,7 +778,7 @@ fi
AM_CONDITIONAL(ENABLE_TRANSLATIONS, test x$enable_translations = xyes)
AC_ARG_ENABLE(latex,
AC_HELP_STRING([--disable-latex],
AS_HELP_STRING([--disable-latex],
[disable use of latex, et.al., to generate documentation]),,
enable_latex=yes)
if test "x$enable_latex" = "xyes" ; then

Wyświetl plik

@ -322,7 +322,7 @@ auth_callback (SANE_String_Const resource,
}
}
static RETSIGTYPE
static void
sighandler (int signum)
{
static SANE_Bool first_time = SANE_TRUE;