(no subject)
Kirill Smelkov
kirr at landau.phys.spbu.ru
Sat Jan 31 11:05:53 CST 2004
Hi,
ChangeLog:
- try to use -fshort-wchar if possible
Index: tools/winemaker
===================================================================
RCS file: /home/wine/wine/tools/winemaker,v
retrieving revision 1.72
diff -u -r1.72 winemaker
--- tools/winemaker 30 Jan 2004 22:55:00 -0000 1.72
+++ tools/winemaker 31 Jan 2004 09:02:54 -0000
@@ -2542,6 +2542,14 @@
[has_gxx_no_for_scope="yes"],
[has_gxx_no_for_scope="no"])
)
+ CXXFLAGS="-fshort-wchar";
+ AC_CACHE_CHECK([for g++ -fshort-wchar option], has_gxx_short_wchar,
+ AC_TRY_COMPILE(,[
+ ;
+ ],
+ [has_gxx_short_wchar="yes"],
+ [has_gxx_short_wchar="no"])
+ )
CXXFLAGS="$OLDCXXFLAGS";
if test "$has_gxx_permissive" = "yes"
then
@@ -2554,6 +2562,10 @@
if test "$has_gxx_no_for_scope" = "yes"
then
CXXFLAGS="$CXXFLAGS -fno-for-scope"
+ fi
+ if test "$has_gxx_short_wchar" = "yes"
+ then
+ CXXFLAGS="$CXXFLAGS -fshort-wchar"
fi
fi
AC_LANG_C()
More information about the wine-patches
mailing list