mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 966814 - Build with disabled X11 on linux failing to compile. r=ted
This commit is contained in:
parent
450a348f37
commit
a52ac8a09b
@ -8010,10 +8010,13 @@ if test "$MOZ_TREE_CAIRO"; then
|
||||
XLIB_SURFACE_FEATURE="#define CAIRO_HAS_XLIB_SURFACE 1"
|
||||
XLIB_XRENDER_SURFACE_FEATURE="#define CAIRO_HAS_XLIB_XRENDER_SURFACE 1"
|
||||
PS_SURFACE_FEATURE="#define CAIRO_HAS_PS_SURFACE 1"
|
||||
fi
|
||||
if test "$_HAVE_FREETYPE2"; then
|
||||
FT_FONT_FEATURE="#define CAIRO_HAS_FT_FONT 1"
|
||||
MOZ_ENABLE_CAIRO_FT=1
|
||||
CAIRO_FT_CFLAGS="$FT2_CFLAGS"
|
||||
fi
|
||||
|
||||
case "$MOZ_WIDGET_TOOLKIT" in
|
||||
qt)
|
||||
QT_SURFACE_FEATURE="#define CAIRO_HAS_QT_SURFACE 1"
|
||||
|
@ -677,7 +677,11 @@ nsHttpHandler::InitUserAgentComponents()
|
||||
"Windows"
|
||||
#elif defined(XP_MACOSX)
|
||||
"Macintosh"
|
||||
#elif defined(MOZ_X11)
|
||||
#elif defined(XP_UNIX)
|
||||
// We historically have always had X11 here,
|
||||
// and there seems little a webpage can sensibly do
|
||||
// based on it being something else, so use X11 for
|
||||
// backwards compatibility in all cases.
|
||||
"X11"
|
||||
#endif
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user