Commit 746c6fec authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Alexandre Julliard

Added test for -fms-extensions to generated configure.ac.

parent 2361f41a
......@@ -2499,6 +2499,14 @@ then
[has_gxx_permissive="yes"],
[has_gxx_permissive="no"])
)
CXXFLAGS="-fms-extensions";
AC_CACHE_CHECK([for g++ -fms-extensions option], has_gxx_msextensions,
AC_TRY_COMPILE(,[
;
],
[has_gxx_msextensions="yes"],
[has_gxx_msextensions="no"])
)
CXXFLAGS="-fno-for-scope";
AC_CACHE_CHECK([for g++ -fno-for-scope option], has_gxx_no_for_scope,
AC_TRY_COMPILE(,[
......@@ -2513,6 +2521,10 @@ then
then
CXXFLAGS="$CXXFLAGS -fpermissive"
fi
if test "$has_gxx_msextensions" = "yes"
then
CXXFLAGS="$CXXFLAGS -fms-extensions"
fi
if test "$has_gxx_no_for_scope" = "yes"
then
CXXFLAGS="$CXXFLAGS -fno-for-scope"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment