]> git.saurik.com Git - wxWidgets.git/commitdiff
use UTF8 build by default on Unix (except Darwin)
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 19 Aug 2007 10:16:30 +0000 (10:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 19 Aug 2007 10:16:30 +0000 (10:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index d76b42fa5ad58de8fc0b418d4aedcfd189418d02..9e846a75e6c9491035a6165f26a9b7ef09e2ebd6 100755 (executable)
--- a/configure
+++ b/configure
@@ -35055,9 +35055,7 @@ fi
 
 
 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
-    if test "$TOOLKIT" = "DFB" ; then
-        wxUSE_UNICODE_UTF8=yes
-    elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
+    if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
         wxUSE_UNICODE_UTF8=yes
     elif test "$USE_OS2" = "1" ; then
                                 wxUSE_UNICODE_UTF8=yes
index 03f9ebbaa19915e015635038c731797fb0585f80..adb3ae246c35f36a15bcc29aca94d3c96225a666 100644 (file)
@@ -3490,9 +3490,7 @@ dnl ---------------------------------------------------------------------------
 dnl If UTF-8 support wasn't explicitly enabled or disabled, enable it only
 dnl for ports where it makes sense by default (GTK+, DirectFB):
 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
-    if test "$TOOLKIT" = "DFB" ; then
-        wxUSE_UNICODE_UTF8=yes
-    elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
+    if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
         wxUSE_UNICODE_UTF8=yes
     elif test "$USE_OS2" = "1" ; then
         dnl wide char support is quite incomplete in libc;