aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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;
#