зеркало из https://github.com/mozilla/pjs.git
Bug 527707. Build System DWrite/Direct2D mods. r=ted
This commit is contained in:
Родитель
96c91b3c95
Коммит
09881bef2e
|
@ -514,6 +514,8 @@ MOZ_ENABLE_GTK2 = @MOZ_ENABLE_GTK2@
|
|||
MOZ_ENABLE_QT = @MOZ_ENABLE_QT@
|
||||
MOZ_ENABLE_PHOTON = @MOZ_ENABLE_PHOTON@
|
||||
MOZ_ENABLE_XREMOTE = @MOZ_ENABLE_XREMOTE@
|
||||
MOZ_ENABLE_DWRITE_FONT = @MOZ_ENABLE_DWRITE_FONT@
|
||||
MOZ_ENABLE_D2D_SURFACE = @MOZ_ENABLE_D2D_SURFACE@
|
||||
|
||||
MOZ_GTK2_CFLAGS = @MOZ_GTK2_CFLAGS@
|
||||
MOZ_GTK2_LIBS = @MOZ_GTK2_LIBS@
|
||||
|
|
15
configure.in
15
configure.in
|
@ -7684,8 +7684,19 @@ if test "$MOZ_TREE_CAIRO"; then
|
|||
WIN32_SURFACE_FEATURE="#define CAIRO_HAS_WIN32_SURFACE 1"
|
||||
if test -z "$WINCE"; then
|
||||
WIN32_FONT_FEATURE="#define CAIRO_HAS_WIN32_FONT 1"
|
||||
if test "$MOZ_WINSDK_TARGETVER" -ge "06010000"; then
|
||||
WIN32_DWRITE_FONT_FEATURE="#define CAIRO_HAS_DWRITE_FONT 1"
|
||||
WIN32_D2D_SURFACE_FEATURE="#define CAIRO_HAS_D2D_SURFACE 1"
|
||||
MOZ_ENABLE_D2D_SURFACE=1
|
||||
MOZ_ENABLE_DWRITE_FONT=1
|
||||
else
|
||||
WIN32_DWRITE_FONT_FEATURE=
|
||||
WIN32_D2D_SURFACE_FEATURE=
|
||||
fi
|
||||
else
|
||||
WIN32_FONT_FEATURE=
|
||||
WIN32_DWRITE_FONT_FEATURE=
|
||||
WIN32_D2D_SURFACE_FEATURE=
|
||||
fi
|
||||
|
||||
AC_TRY_COMPILE([#include <ddraw.h>], [int foo = DDLOCK_WAITNOTBUSY;], HAS_DDRAW=1, HAS_DDRAW=)
|
||||
|
@ -7733,6 +7744,8 @@ if test "$MOZ_TREE_CAIRO"; then
|
|||
FC_FONT_FEATURE="#define CAIRO_HAS_FC_FONT 1"
|
||||
fi
|
||||
AC_SUBST(MOZ_ENABLE_CAIRO_FT)
|
||||
AC_SUBST(MOZ_ENABLE_DWRITE_FONT)
|
||||
AC_SUBST(MOZ_ENABLE_D2D_SURFACE)
|
||||
AC_SUBST(CAIRO_FT_CFLAGS)
|
||||
AC_SUBST(HAS_OGLES)
|
||||
|
||||
|
@ -7761,6 +7774,8 @@ if test "$MOZ_TREE_CAIRO"; then
|
|||
AC_SUBST(FT_FONT_FEATURE)
|
||||
AC_SUBST(FC_FONT_FEATURE)
|
||||
AC_SUBST(WIN32_FONT_FEATURE)
|
||||
AC_SUBST(WIN32_DWRITE_FONT_FEATURE)
|
||||
AC_SUBST(WIN32_D2D_SURFACE_FEATURE)
|
||||
AC_SUBST(QUARTZ_FONT_FEATURE)
|
||||
AC_SUBST(PNG_FUNCTIONS_FEATURE)
|
||||
AC_SUBST(QT_SURFACE_FEATURE)
|
||||
|
|
Загрузка…
Ссылка в новой задаче