mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Added test for -fms-extensions to generated configure.ac.
This commit is contained in:
parent
2361f41a75
commit
746c6feccf
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user