2000-12-23 Henning Meier-Geinitz <hmg@gmx.de>

* NEWS: Added date of release.
	* TODO: Removed entries about PATH_MAX, sanei_scsi_find_devices, and
	  shm.h. Added entry about the necessity to check HAVE_SYS_SHM_H.
	* configure configure.in include/sane/config.h.in: Default to
	  --enable-warnings again. Don't set "-ansi" for OS/2. Test for
	  sys/shm.h.
	* backend/GUIDE: Moved to doc/backend-writing.txt.
	* doc/backend-writing.txt: New file (moved from backend/GUIDE).
	  Added comments about sanei-backend.h and PATH_MAX.
	* include/sane/sanei_backend.h: Added define for PATH_MAX (if
	  necessary).
	* sanei/sanei_scsi.c: Implemented sanei_scsi_find_devices for FreeBSD
	  (from ports@FreeBSD.org).
	* tools/Makefile.in: Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for
	  sane-config (from ports@FreeBSD.org).
DEVEL_2_0_BRANCH-1
Henning Geinitz 2000-12-23 16:06:12 +00:00
rodzic 03b9c96bd8
commit fc07267c14
2 zmienionych plików z 215 dodań i 183 usunięć

335
configure vendored

Plik diff jest za duży Load Diff

Wyświetl plik

@ -35,45 +35,45 @@ INCLUDES="${INCLUDES} -I/usr/local/include"
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
if test "${ac_cv_prog_gcc}" = "yes"; then
NORMAL_CFLAGS="${CFLAGS} -W -Wall"
WARN_CFLAGS="${CFLAGS} -W -Wall -Wstrict-prototypes -Wreturn-type \
-Wcast-align -Wpointer-arith -Wcast-qual -pedantic"
NORMAL_CFLAGS="${CFLAGS} -W -Wall"
WARN_CFLAGS="${CFLAGS} -W -Wall -Wstrict-prototypes -Wreturn-type -Wcast-align \
-Wpointer-arith -Wcast-qual -ansi -pedantic"
dnl OS/2 doesn't include some headers with -ansi enabled
AC_CHECK_HEADER(os2.h,,[WARN_CFLAGS="${WARN_CFLAGS} -ansi"])
dnl Use this during development
dnl # Warnings enabled by default
dnl AC_ARG_ENABLE(warnings,
dnl [ --enable-warnings turn on tons of compiler warnings (GCC only)
dnl [default=yes]],
dnl [
dnl if eval "test x$enable_warnings = xyes"; then
dnl CFLAGS="${WARN_CFLAGS}"
dnl else
dnl CFLAGS="${NORMAL_CFLAGS}"
dnl fi
dnl ],
dnl [CFLAGS="${WARN_CFLAGS}"])
# Warnings enabled by default (development)
AC_ARG_ENABLE(warnings,
[ --enable-warnings turn on tons of compiler warnings (GCC only)
[default=yes]],
[
if eval "test x$enable_warnings = xyes"; then
CFLAGS="${WARN_CFLAGS}"
else
CFLAGS="${NORMAL_CFLAGS}"
fi
],
[CFLAGS="${WARN_CFLAGS}"])
dnl Use this for releases
# Warnings disabled by default
AC_ARG_ENABLE(warnings,
[ --enable-warnings turn on tons of compiler warnings (GCC only)
[default=no]],
[
if eval "test x$enable_warnings = xyes"; then
CFLAGS="${WARN_CFLAGS}"
else
CFLAGS="${NORMAL_CFLAGS}"
fi
],
[CFLAGS="${NORMAL_CFLAGS}"])
dnl # Warnings disabled by default (release)
dnl AC_ARG_ENABLE(warnings,
dnl [ --enable-warnings turn on tons of compiler warnings (GCC only)
dnl [default=no]],
dnl [
dnl if eval "test x$enable_warnings = xyes"; then
dnl CFLAGS="${WARN_CFLAGS}"
dnl else
dnl CFLAGS="${NORMAL_CFLAGS}"
dnl fi
dnl ],
dnl [CFLAGS="${NORMAL_CFLAGS}"])
fi
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h libc.h sys/dsreq.h sys/select.h \
sys/time.h \
sys/time.h sys/shm.h \
sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \
bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h io/cam/cam.h \
camlib.h os2.h sys/socket.h sys/io.h asm/io.h gscdds.h sys/hw.h \
@ -104,7 +104,6 @@ then
AC_DEFINE(scsireq_t, struct scsireq_t))
fi
SANE_V4L_VERSION
dnl Checks for dll libraries: dl