1.1 --- a/configure Thu Jan 15 04:15:11 2009 +0000
1.2 +++ b/configure Mon Jan 26 03:05:54 2009 +0000
1.3 @@ -7126,7 +7126,9 @@
1.5 # Check whether --enable-strict-warn was given.
1.6 if test "${enable_strict_warn+set}" = set; then
1.7 - enableval=$enable_strict_warn; CFLAGS="$CFLAGS -Werror -Wall -Wno-unused"
1.8 + enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
1.9 + enable_strictwarn=yes
1.13 # Check whether --enable-translator was given.
1.14 @@ -7264,9 +7266,10 @@
1.16 if test "x$enable_optimized" = "xyes"; then
1.17 CFLAGS="$CFLAGS $CCOPT"
1.18 - OBJCFLAGS="$OBJCFLAGS $CCOPT"
1.19 + OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
1.20 if test "x$enable_profiled" != "xyes"; then
1.21 CFLAGS="$CFLAGS -fomit-frame-pointer"
1.22 + OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
1.25 CFLAGS="$CFLAGS -g3"
1.26 @@ -7279,6 +7282,11 @@
1.27 OBJCFLAGS="$OBJCFLAGS -pg";
1.30 +if test "x$enable_strictwarn" = "xyes"; then
1.31 + CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
1.32 + OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
1.36 { $as_echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
1.37 $as_echo_n "checking support for fastcall calling conventions... " >&6; };