winemaker: try to use -fms-extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

        Kirill Smelkov <kirr@xxxxxxxxxxxxxxxxxxx>
        winemaker: added test for -fms-extensions to generated
        configure.ac.
Index: tools/winemaker
===================================================================
RCS file: /home/wine/wine/tools/winemaker,v
retrieving revision 1.69
diff -u -u -r1.69 winemaker
--- tools/winemaker	25 Nov 2003 03:31:26 -0000	1.69
+++ tools/winemaker	13 Dec 2003 11:31:51 -0000
@@ -2499,6 +2499,14 @@
       [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
     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"


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux