Changeset 30913 in webkit
- Timestamp:
- Mar 9, 2008 5:49:15 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r30721 r30913 1 2008-03-09 Jürg Billeter <j@bitron.ch> 2 3 Reviewed by Alp Toker. 4 5 Conditionalise ICU for Unicode in the GTK+ port. 6 7 * GNUmakefile.am: 8 * configure.ac: 9 1 10 2008-03-03 Brent Fulgham <bfulgham@gmail.com> 2 11 -
trunk/GNUmakefile.am
r30707 r30913 59 59 -I$(top_builddir)/DerivedSources 60 60 61 global_cppflags += \ 62 -DWTF_USE_ICU_UNICODE=1 63 61 64 # Default compiler flags 62 65 global_cflags := \ … … 105 108 106 109 libJavaScriptCore_la_LIBADD = \ 107 $( ICU_LIBS) \110 $(UNICODE_LIBS) \ 108 111 $(GLOBALDEPS_LIBS) \ 109 112 -lpthread … … 118 121 $(global_cflags) \ 119 122 $(GLOBALDEPS_CFLAGS) \ 123 $(UNICODE_CFLAGS) \ 120 124 -fstrict-aliasing 121 125 122 126 libJavaScriptCore_la_CPPFLAGS = \ 123 127 $(global_cppflags) \ 124 $(javascriptcore_cppflags) \ 125 $(ICU_CPPFLAGS) 128 $(javascriptcore_cppflags) 126 129 127 130 # … … 166 169 -fno-strict-aliasing \ 167 170 $(global_cflags) \ 171 $(UNICODE_CFLAGS) \ 168 172 $(GLOBALDEPS_CFLAGS) \ 169 173 $(WEBKITDEPS_CFLAGS) \ … … 176 180 177 181 libWebCore_la_CPPFLAGS = \ 178 $(ICU_CPPFLAGS) \179 182 $(global_cppflags) \ 180 183 $(webcore_cppflags) \ … … 187 190 $(WEBKITDEPS_LIBS) \ 188 191 $(LIBCURL_LIBS) \ 189 $( ICU_LIBS) \192 $(UNICODE_LIBS) \ 190 193 $(SQLITE3_LIBS) \ 191 194 $(GSTREAMER_LIBS) \ -
trunk/JavaScriptCore/ChangeLog
r30897 r30913 1 2008-03-09 Jürg Billeter <j@bitron.ch> 2 3 Reviewed by Alp Toker. 4 5 Conditionalise ICU for Unicode in the GTK+ port. 6 7 * wtf/Platform.h: 8 1 9 2008-03-07 David D. Kilzer <ddkilzer@apple.com> 2 10 -
trunk/JavaScriptCore/wtf/Platform.h
r30897 r30913 204 204 #endif 205 205 206 /* for Unicode, KDE uses Qt , everything else uses ICU*/206 /* for Unicode, KDE uses Qt */ 207 207 #if PLATFORM(KDE) || PLATFORM(QT) 208 208 #define WTF_USE_QT4_UNICODE 1 209 209 #elif PLATFORM(SYMBIAN) 210 210 #define WTF_USE_SYMBIAN_UNICODE 1 211 #elif PLATFORM(GTK) 212 /* The GTK+ Unicode backend is configurable */ 211 213 #else 212 214 #define WTF_USE_ICU_UNICODE 1 -
trunk/configure.ac
r30721 r30913 130 130 fi 131 131 132 # check for icu-config 133 if test "$os_darwin" = "yes"; then 134 ICU_CPPFLAGS="-I\$(srcdir)/JavaScriptCore/icu -I\$(srcdir)/WebCore/icu" 135 ICU_LIBS="-licucore" 136 else 137 AC_PATH_PROG(icu_config, icu-config, no) 138 if test "$icu_config" = "no"; then 139 AC_MSG_ERROR([Cannot find icu-config. ICU library is needed.]) 140 fi 141 142 # We don't use --cflags as this gives us a lot of things that we don't 143 # necessarily want, like debugging and optimization flags 144 # See man (1) icu-config for more info. 145 ICU_CPPFLAGS=`$icu_config --cppflags` 146 ICU_LIBS=`$icu_config --ldflags` 147 AC_SUBST([ICU_CPPFLAGS]) 148 AC_SUBST([ICU_LIBS]) 149 fi 132 # determine the Unicode backend 133 AC_MSG_CHECKING([the Unicode backend to use]) 134 AC_ARG_WITH(unicode_backend, 135 AC_HELP_STRING([--with-unicode-backend=@<:@icu@:>@], 136 [Select Unicode backend [default=icu]]), 137 [],[unicode_backend="icu"]) 138 139 case "$unicode_backend" in 140 icu) ;; 141 *) AC_MSG_ERROR([Invalid Unicode backend: must be icu.]) ;; 142 esac 143 144 AC_MSG_RESULT([$unicode_backend]) 145 146 if test "$unicode_backend" = "icu"; then 147 # check for icu-config 148 if test "$os_darwin" = "yes"; then 149 UNICODE_CFLAGS="-I\$(srcdir)/JavaScriptCore/icu -I\$(srcdir)/WebCore/icu" 150 UNICODE_LIBS="-licucore" 151 else 152 AC_PATH_PROG(icu_config, icu-config, no) 153 if test "$icu_config" = "no"; then 154 AC_MSG_ERROR([Cannot find icu-config. The ICU library is needed.]) 155 fi 156 157 # We don't use --cflags as this gives us a lot of things that we don't 158 # necessarily want, like debugging and optimization flags 159 # See man (1) icu-config for more info. 160 UNICODE_CFLAGS=`$icu_config --cppflags` 161 UNICODE_LIBS=`$icu_config --ldflags` 162 fi 163 fi 164 165 AC_SUBST([UNICODE_CFLAGS]) 166 AC_SUBST([UNICODE_LIBS]) 150 167 151 168 # determine the GDK/GTK+ target … … 486 503 Enable debugging (slow) : $enable_debug 487 504 Code coverage support : $enable_coverage 505 Unicode backend : $unicode_backend 488 506 HTTP backend : $http_backend 489 507 Optimized memory allocator : $enable_fast_malloc
Note: See TracChangeset
for help on using the changeset viewer.