kopia lustrzana https://gitlab.com/sane-project/backends
2000-12-16 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in: Disable warnings by default for release. * sanei/sanei_wire.c: Fixed typo.DEVEL_2_0_BRANCH-1
rodzic
7510b8c5dc
commit
3fd6008d27
Plik diff jest za duży
Load Diff
36
configure.in
36
configure.in
|
@ -41,24 +41,10 @@ WARN_CFLAGS="${CFLAGS} -W -Wall -Wstrict-prototypes -Wreturn-type -Wcast-align \
|
||||||
-Wpointer-arith -Wcast-qual -ansi -pedantic"
|
-Wpointer-arith -Wcast-qual -ansi -pedantic"
|
||||||
|
|
||||||
dnl Use this during development
|
dnl Use this during development
|
||||||
# Warnings enabled by default
|
dnl # Warnings enabled by default
|
||||||
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
|
|
||||||
dnl # Warnings disabled by default
|
|
||||||
dnl AC_ARG_ENABLE(warnings,
|
dnl AC_ARG_ENABLE(warnings,
|
||||||
dnl [ --enable-warnings turn on tons of compiler warnings (GCC only)
|
dnl [ --enable-warnings turn on tons of compiler warnings (GCC only)
|
||||||
[default=no]],
|
dnl [default=yes]],
|
||||||
dnl [
|
dnl [
|
||||||
dnl if eval "test x$enable_warnings = xyes"; then
|
dnl if eval "test x$enable_warnings = xyes"; then
|
||||||
dnl CFLAGS="${WARN_CFLAGS}"
|
dnl CFLAGS="${WARN_CFLAGS}"
|
||||||
|
@ -66,7 +52,21 @@ dnl else
|
||||||
dnl CFLAGS="${NORMAL_CFLAGS}"
|
dnl CFLAGS="${NORMAL_CFLAGS}"
|
||||||
dnl fi
|
dnl fi
|
||||||
dnl ],
|
dnl ],
|
||||||
dnl [CFLAGS="${NORMAL_CFLAGS}"])
|
dnl [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}"])
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Ładowanie…
Reference in New Issue