summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--include/meson.build4
-rw-r--r--meson.build11
3 files changed, 4 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 88c25abce..75d76fb24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -680,7 +680,6 @@ case $host_os in
XVFB=no
XNEST=no
- COMPOSITE=no
DGA=no
DPMSExtension=no
XF86VIDMODE=no
@@ -2135,7 +2134,7 @@ if test "x$XQUARTZ" = xyes; then
AC_DEFINE(XQUARTZ,1,[Have Quartz])
AC_DEFINE(ROOTLESS,1,[Build Rootless code])
- XQUARTZ_LIBS="$FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $PRESENT_LIB"
+ XQUARTZ_LIBS="$COMPOSITE_LIB $FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $PRESENT_LIB"
AC_SUBST([XQUARTZ_LIBS])
AC_CHECK_LIB([Xplugin],[xp_init],[:])
diff --git a/include/meson.build b/include/meson.build
index 6b4a69dd4..3521fa3ef 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -201,9 +201,7 @@ conf_data.set('UNIXCONN', host_machine.system() != 'windows' ? '1' : false)
conf_data.set('IPv6', build_ipv6 ? '1' : false)
conf_data.set('BIGREQS', '1')
-if build_composite
- conf_data.set('COMPOSITE', '1')
-endif
+conf_data.set('COMPOSITE', '1')
conf_data.set('DAMAGE', '1')
conf_data.set('DBE', '1')
conf_data.set('DGA', build_dga ? '1' : false)
diff --git a/meson.build b/meson.build
index e6b6fc6e7..c516726b8 100644
--- a/meson.build
+++ b/meson.build
@@ -235,10 +235,8 @@ else
build_xquartz = get_option('xquartz') == 'true'
endif
-build_composite = true
build_rootless = false
if build_xquartz
- build_composite = false
build_rootless = true
endif
@@ -699,9 +697,7 @@ subdir('fb')
subdir('mi')
subdir('os')
# X extensions
-if build_composite
- subdir('composite')
-endif
+subdir('composite')
subdir('damageext')
subdir('dbe')
subdir('miext/damage')
@@ -735,6 +731,7 @@ libxserver = [
libxserver_mi,
libxserver_dix,
+ libxserver_composite,
libxserver_damageext,
libxserver_dbe,
libxserver_randr,
@@ -751,10 +748,6 @@ libxserver = [
libxserver_os,
]
-if build_composite
- libxserver += libxserver_composite
-endif
-
libxserver += libxserver_dri3
subdir('hw')