Enable Core Text text back-end by default. b=517877 r=ted
authorJosh Aas <joshmoz@gmail.com>
Sat, 26 Sep 2009 22:44:08 -0400
changeset 33215 086b132ab779a4df1e2385fc1285611e487d4baf
parent 33214 3bfa6d0acf3dcff1920e9ce8a423b5686bc16114
child 33216 65aff8912e7c92d424ce046c976a29ced1266f99
push id9358
push userjosh@mozilla.com
push dateSun, 27 Sep 2009 02:44:43 +0000
treeherdermozilla-central@086b132ab779 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs517877
milestone1.9.3a1pre
Enable Core Text text back-end by default. b=517877 r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -3142,26 +3142,22 @@ case "$target" in
 *-darwin*)
   AC_MSG_CHECKING([for Core Text])
   AC_TRY_COMPILE([#include <ApplicationServices/ApplicationServices.h>],
                  [CTLineRef lineRef;],
                   ac_cv_have_core_text="yes",
                   ac_cv_have_core_text="no")
   AC_MSG_RESULT([$ac_cv_have_core_text])
 
-  case "${target_cpu}" in
-  x86_64)
-    MOZ_CORETEXT=1
-    ;;
-  esac
-
-  MOZ_ARG_ENABLE_BOOL(coretext,
-[  --enable-coretext      Use CoreText instead of ATSUI for text rendering],
-    MOZ_CORETEXT=1,
-    MOZ_CORETEXT=)
+  MOZ_CORETEXT=1
+
+  MOZ_ARG_DISABLE_BOOL(coretext,
+[  --disable-coretext      Use ATSUI instead of Core Text for text rendering],
+    MOZ_CORETEXT=,
+    MOZ_CORETEXT=1)
 
   if test -n "$MOZ_CORETEXT"; then
     if test "$ac_cv_have_core_text" = "no"; then
       AC_MSG_ERROR([--enable-coretext requires MacOS SDK 10.5 or newer])
      fi
      AC_DEFINE(MOZ_CORETEXT)
   fi
   ;;