Check for sys/sem.h and disable snapscan if it isn't available.

Removed "//" (C++-style comment) from config.h.in.
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2001-06-09 10:38:44 +00:00
rodzic 89979a41f3
commit 2e46b369c7
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -55,7 +55,7 @@ COMPILE = $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES) $(CPPFLAGS)
PRELOADABLE_BACKENDS = abaton agfafocus apple artec as6e avision bh canon \
coolscan dc25 @DC210@ @DC240@ dmc epson hp m3096g microtek microtek2 \
mustek mustek_pp nec @NET@ pie @PINT@ plustek @PNM@ @QCAM@ ricoh \
s9036 sharp @SM3600@ snapscan sp15c st400 tamarack umax umax_pp @V4L@
s9036 sharp @SM3600@ @SNAPSCAN@ sp15c st400 tamarack umax umax_pp @V4L@
ALL_BACKENDS = $(PRELOADABLE_BACKENDS) dll
LIBS = $(addprefix libsane-,$(addsuffix .la,$(ALL_BACKENDS)))

Wyświetl plik

@ -51,7 +51,7 @@
#ifdef NEED_SYS_BITYPES_H
# include <sys/bitypes.h>
#else // not NEED_SYS_BITYPES_H
#else /* not NEED_SYS_BITYPES_H */
/* Define to `unsigned char' if <sys/types.h> doesn't define. */
#undef u_char
@ -71,7 +71,7 @@
/* Define to `unsigned int' if <sys/types.h> doesn't define. */
#undef u_int32_t
#endif // not NEED_SYS_BITYPES_H
#endif /* not NEED_SYS_BITYPES_H */
/* Define to `long' if <sys/types.h> doesn't define. */
#undef ssize_t
@ -347,6 +347,9 @@
/* Define if you have sys/bitypes.h. */
#undef HAVE_SYS_BITYPES_H
/* Define if you have sys/sem.h. */
#undef HAVE_SYS_SEM_H
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H