aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2008-02-20 10:07:18 +0000
committerTomas Frydrych <tf@linux.intel.com>2008-02-20 10:07:18 +0000
commit1cd11646240986a32518dc3688062ffec02b0d93 (patch)
treec04daead17d219289a3b0f59c3b8190bbdc071fe /configure.ac
parentd707717ae14007e63358df0263892ec0889f8017 (diff)
downloadlibmatchboxwm2-1cd11646240986a32518dc3688062ffec02b0d93.tar.gz
libmatchboxwm2-1cd11646240986a32518dc3688062ffec02b0d93.tar.bz2
libmatchboxwm2-1cd11646240986a32518dc3688062ffec02b0d93.zip
2008-02-20 Tomas Frydrych <tf@o-hand.com>
* configure.ac: * matchbox/comp-mgr/Makefile.am: * matchbox/mb-wm-config.h.in: * matchbox/core/mb-window-manager.c: Added --enable-compositing-manager=framework-only to make it possible to build libmatchox with compositing capabilites, but without any of the provided backends. * matchbox/core/mb-window-manager.c: (mb_wm_main_loop): Added missing xeven callback to the plain main glib loop. * matchbox/core/mb-wm-main-context.c: (mb_wm_main_context_init): Removed unused code.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2d0289c..45a52a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,8 @@ AC_ARG_ENABLE(compositing-manager,
[ --enable-compositing-manager@<:@=BACKEND@:>@ Enable compositing manager,
optionally choosing compositor backend. Available
backends are: 'default' (XRender based backend),
- 'clutter' (Clutter based backend).],
+ 'clutter' (Clutter based backend),
+ 'framework-only' (Compositing frameworks without a backend).],
[comp_mgr=$enableval], [comp_mgr=no])
AC_ARG_ENABLE(glib-main-loop,
@@ -84,6 +85,8 @@ case $comp_mgr in
needed_pkgs="$needed_pkgs clutter-0.5 xcomposite xdamage "
gmloop="yes" ;;
+ framework-only ) comp_mgr="yes (framework only)" ;;
+
* ) comp_mgr = no ;;
esac
@@ -131,6 +134,7 @@ if test "$use_gtk" = yes; then
fi
AC_SUBST(USE_GTK)
+COMP_MGR_BACKEND=0
ENABLE_COMPOSITE=0
AM_CONDITIONAL(ENABLE_COMPOSITE, [test "x$comp_mgr" != "xno"])
if test "$comp_mgr" != no; then
@@ -142,9 +146,21 @@ USE_CLUTTER=0
AM_CONDITIONAL(USE_CLUTTER, [test "x$comp_mgr" = "xyes (clutter)"])
if test "$comp_mgr" = "yes (clutter)"; then
USE_CLUTTER=1
+ COMP_MGR_BACKEND=1
fi
AC_SUBST(USE_CLUTTER)
+DEFAULT_COMP_MGR=0
+AM_CONDITIONAL(DEFAULT_COMP_MGR, [test "x$comp_mgr" = "xyes (default)"])
+if test "$comp_mgr" = "yes (default)"; then
+ DEFAULT_COMP_MGR=1
+ COMP_MGR_BACKEND=1
+fi
+AC_SUBST(DEFAULT_COMP_MGR)
+
+AM_CONDITIONAL(COMP_MGR_BACKEND, [test "x$COMP_MGR_BACKEND" = "x1"])
+AC_SUBST(COMP_MGR_BACKEND)
+
AM_CONDITIONAL(ENABLE_LIBMATCHBOX, [test "x$libmatchbox" = "xyes"])
AC_ARG_ENABLE(simple-manager,