Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 966:0f0320cb3650
prev964:f2f3c7612d06
next977:8514fb4bc101
author nkeynes
date Thu Jan 15 11:16:48 2009 +0000 (11 years ago)
permissions -rw-r--r--
last change Make --enable-strict-warn work again
file annotate diff log raw
1.1 --- a/configure Thu Jan 15 04:15:11 2009 +0000
1.2 +++ b/configure Thu Jan 15 11:16:48 2009 +0000
1.3 @@ -7126,7 +7126,9 @@
1.4
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.10 + fi
1.11 fi
1.12
1.13 # Check whether --enable-translator was given.
1.14 @@ -7264,9 +7266,10 @@
1.15
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.23 fi
1.24 else
1.25 CFLAGS="$CFLAGS -g3"
1.26 @@ -7279,6 +7282,11 @@
1.27 OBJCFLAGS="$OBJCFLAGS -pg";
1.28 fi
1.29
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.33 +fi
1.34 +
1.35
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; };
.