Version is 1.0.7-cvs. Enable warnings by default. Don't use "-ansi" for HPUX.

Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-02-04 23:24:36 +00:00
rodzic 7ac659fb99
commit c62b16eca3
2 zmienionych plików z 6 dodań i 6 usunięć

6
configure vendored
Wyświetl plik

@ -585,7 +585,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
V_MAJOR=1 V_MAJOR=1
V_MINOR=0 V_MINOR=0
V_REV=7 V_REV=7
V_EXTRA= V_EXTRA=-cvs
PACKAGE=sane-backends PACKAGE=sane-backends
VERSION=${V_MAJOR}.${V_MINOR}.${V_REV}${V_EXTRA} VERSION=${V_MAJOR}.${V_MINOR}.${V_REV}${V_EXTRA}
@ -1464,7 +1464,7 @@ else
fi fi
case "${host_os}" in case "${host_os}" in
solaris*) solaris* | hpux*)
ANSI_FLAG= ANSI_FLAG=
;; ;;
esac esac
@ -1502,7 +1502,7 @@ esac
fi fi
else else
if false; then # release (false) or development (true) if true; then # release (false) or development (true)
# Warnings enabled by default (development) # Warnings enabled by default (development)
for flag in $WARN_CFLAGS; do for flag in $WARN_CFLAGS; do
case "$CFLAGS" in case "$CFLAGS" in

Wyświetl plik

@ -8,7 +8,7 @@ AC_ARG_PROGRAM
V_MAJOR=1 V_MAJOR=1
V_MINOR=0 V_MINOR=0
V_REV=7 V_REV=7
V_EXTRA= V_EXTRA=-cvs
PACKAGE=sane-backends PACKAGE=sane-backends
VERSION=${V_MAJOR}.${V_MINOR}.${V_REV}${V_EXTRA} VERSION=${V_MAJOR}.${V_MINOR}.${V_REV}${V_EXTRA}
@ -63,7 +63,7 @@ if test "${ac_cv_prog_gcc}" = "yes"; then
ANSI_FLAG=-ansi ANSI_FLAG=-ansi
AC_CHECK_HEADER(os2.h,[ANSI_FLAG=],) AC_CHECK_HEADER(os2.h,[ANSI_FLAG=],)
case "${host_os}" in case "${host_os}" in
solaris*) solaris* | hpux*)
ANSI_FLAG= ANSI_FLAG=
;; ;;
esac esac
@ -84,7 +84,7 @@ if test "${ac_cv_prog_gcc}" = "yes"; then
done done
fi fi
], ],
[if false; then # release (false) or development (true) [if true; then # release (false) or development (true)
# Warnings enabled by default (development) # Warnings enabled by default (development)
for flag in $WARN_CFLAGS; do for flag in $WARN_CFLAGS; do
JAPHAR_GREP_CFLAGS($flag, [ CFLAGS="$CFLAGS $flag" ]) JAPHAR_GREP_CFLAGS($flag, [ CFLAGS="$CFLAGS $flag" ])