aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTravis Howell2004-03-21 00:23:03 +0000
committerTravis Howell2004-03-21 00:23:03 +0000
commit472ca9c68976a99802ed44dfe7399a2b11b248a5 (patch)
tree516aba0d0409044031a773d322d71a69c1621471 /configure
parent6a1532772a7552d15ba0482b38278b4316c8d581 (diff)
downloadscummvm-rg350-472ca9c68976a99802ed44dfe7399a2b11b248a5.tar.gz
scummvm-rg350-472ca9c68976a99802ed44dfe7399a2b11b248a5.tar.bz2
scummvm-rg350-472ca9c68976a99802ed44dfe7399a2b11b248a5.zip
minge uses configure now
svn-id: r13348
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index f40500f9a1..712137bf37 100755
--- a/configure
+++ b/configure
@@ -403,8 +403,16 @@ fi
#
if test "$_cxx_major" -ge "3" ; then
+ hosttype=`uname -s`
+ case $hosttype in
+ MINGW32* | CYGWIN*)
+ CXXFLAGS="$CXXFLAGS -W -Wno-unused-parameter"
+ ;;
+ *)
CXXFLAGS="$CXXFLAGS -ansi -W -Wno-unused-parameter"
- _make_def_HAVE_GCC3='HAVE_GCC3 = 1'
+ ;;
+ esac
+ _make_def_HAVE_GCC3='HAVE_GCC3 = 1'
fi;
#