mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 02:58:02 +02:00
Move XCB sections next to XLIB sections.
This commit is contained in:
parent
8dabfc7ffe
commit
aa017161a5
2 changed files with 15 additions and 15 deletions
16
configure.in
16
configure.in
|
|
@ -254,6 +254,14 @@ CAIRO_BACKEND_ENABLE(xlib_xrender, Xlib Xrender, xlib-xrender, XLIB_XRENDER_SURF
|
|||
|
||||
dnl ===========================================================================
|
||||
|
||||
CAIRO_BACKEND_ENABLE(xcb, XCB, xcb, XCB_SURFACE, no, [
|
||||
xcb_REQUIRES="xcb >= 0.9.92 xcb-render >= 0.9.92 xcb-renderutil"
|
||||
PKG_CHECK_MODULES(xcb, $xcb_REQUIRES, , [
|
||||
use_xcb="no (requires XCB http://xcb.freedesktop.org)"])
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
CAIRO_BACKEND_ENABLE(quartz, Quartz, quartz, QUARTZ_SURFACE, no, [
|
||||
dnl There is no pkgconfig for quartz; lets do a header check
|
||||
AC_CHECK_HEADER(Carbon/Carbon.h, , [use_quartz="no (Carbon headers not found)"])
|
||||
|
|
@ -268,14 +276,6 @@ CAIRO_BACKEND_ENABLE(nquartz, NativeQuartz, nquartz, NQUARTZ_SURFACE, no, [
|
|||
|
||||
dnl ===========================================================================
|
||||
|
||||
CAIRO_BACKEND_ENABLE(xcb, XCB, xcb, XCB_SURFACE, no, [
|
||||
xcb_REQUIRES="xcb >= 0.9.92 xcb-render >= 0.9.92 xcb-renderutil"
|
||||
PKG_CHECK_MODULES(xcb, $xcb_REQUIRES, , [
|
||||
use_xcb="no (requires XCB http://xcb.freedesktop.org)"])
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
CAIRO_BACKEND_ENABLE(win32, Microsoft Windows, win32, WIN32_SURFACE, auto, [
|
||||
case "$host" in
|
||||
*-*-mingw*|*-*-cygwin*)
|
||||
|
|
|
|||
|
|
@ -53,6 +53,12 @@ libcairo_xlib_xrender_headers = cairo-xlib-xrender.h
|
|||
backend_pkgconfigs += cairo-xlib-xrender.pc
|
||||
endif
|
||||
|
||||
if CAIRO_HAS_XCB_SURFACE
|
||||
libcairo_xcb_headers = cairo-xcb.h cairo-xcb-xrender.h
|
||||
libcairo_xcb_sources = cairo-xcb-surface.c
|
||||
backend_pkgconfigs += cairo-xcb.pc
|
||||
endif
|
||||
|
||||
if CAIRO_HAS_QUARTZ_SURFACE
|
||||
libcairo_quartz_headers = cairo-quartz.h
|
||||
libcairo_quartz_sources = cairo-quartz-surface.c cairo-quartz-private.h
|
||||
|
|
@ -65,12 +71,6 @@ libcairo_nquartz_sources = cairo-nquartz-surface.c cairo-quartz-private.h
|
|||
backend_pkgconfigs += cairo-nquartz.pc
|
||||
endif
|
||||
|
||||
if CAIRO_HAS_XCB_SURFACE
|
||||
libcairo_xcb_headers = cairo-xcb.h cairo-xcb-xrender.h
|
||||
libcairo_xcb_sources = cairo-xcb-surface.c
|
||||
backend_pkgconfigs += cairo-xcb.pc
|
||||
endif
|
||||
|
||||
libcairo_win32_sources =
|
||||
if CAIRO_HAS_WIN32_SURFACE
|
||||
libcairo_win32_headers = cairo-win32.h
|
||||
|
|
@ -228,9 +228,9 @@ libcairo_la_SOURCES = \
|
|||
$(libcairo_test_sources) \
|
||||
$(libcairo_font_subset_sources) \
|
||||
$(libcairo_xlib_sources) \
|
||||
$(libcairo_xcb_sources) \
|
||||
$(libcairo_quartz_sources) \
|
||||
$(libcairo_nquartz_sources) \
|
||||
$(libcairo_xcb_sources) \
|
||||
$(libcairo_glitz_sources) \
|
||||
$(libcairo_win32_sources) \
|
||||
$(libcairo_os2_sources) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue