aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2007-11-05 08:56:43 +0000
committerTomas Frydrych <tf@linux.intel.com>2007-11-05 08:56:43 +0000
commit117d77c5997dff8ee33d9ff729a7d5d94552a294 (patch)
treede1a3e03bd1268a4a8442ba9a2d920ff626701b2 /configure.ac
parent72aeb43b2d9976b5497a169cab1ce1048eb29adf (diff)
downloadlibmatchboxwm2-117d77c5997dff8ee33d9ff729a7d5d94552a294.tar.gz
libmatchboxwm2-117d77c5997dff8ee33d9ff729a7d5d94552a294.tar.bz2
libmatchboxwm2-117d77c5997dff8ee33d9ff729a7d5d94552a294.zip
2007-11-05 Tomas Frydrych <tf@o-hand.com>
* configure.ac: * src/core/mb-wm-main-context.c: * src/core/mb-wm-main-context.h: * src/core/mb-wm-types.h: * src/core/mb-wm-client.c: --enable-glib-main-loop: glib main loop support. * src/core/mb-wm-util.h: Fixed handling of inline keyword when using glib. * src/theme-engines/mb-wm-theme-cairo.h: * src/theme-engines/mb-wm-theme-simple.h: * src/theme-engines/mb-wm-theme.c: * src/theme-engines/mb-wm-theme.h: * src/core/mb-wm-client-base.c: * src/core/mb-wm-client-base.h: * src/core/mb-wm-client.h: * src/core/mb-wm-decor.c: Added missing prototypes and includes. * src/core/mb-window-manager.c: (mb_wm_handle_config_request): (mb_wm_handle_map_request): * src/core/mb-wm-object.c: (mb_wm_object_init_recurse: Fixed missing return value.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a641ef6..d38397a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,10 @@ AC_ARG_ENABLE(compositing-manager,
[ --enable-compositing-manager Enable compositing manager],
[comp_mgr=$enableval], [comp_mgr=no])
+AC_ARG_ENABLE(glib-main-loop,
+ [ --enable-glib-main-loop Enable use of glib main loop],
+ [gmloop=$enableval], [gmloop=no])
+
if test "x$use_cairo" = "xyes"; then
needed_pkgs="$needed_pkgs pangocairo "
else
@@ -55,6 +59,11 @@ if test "x$want_debug" = "xyes"; then
MBWM_DEBUG_LDFLAGS="$MBWM_DEBUG_LDFLAGS -rdynamic"
fi
+if test "x$gmloop" = "xyes"; then
+ needed_pkgs="$needed_pkgs glib-2.0 "
+ AC_DEFINE(USE_GLIB_MAINLOOP, 1, [Use glib main loop])
+fi
+
PKG_CHECK_MODULES(MBWM, $needed_pkgs)
AM_CONDITIONAL(THEME_CAIRO, [test "x$use_cairo" = "xyes"])
@@ -167,5 +176,7 @@ echo "
Compositing manager : ${comp_mgr}
+ Miscel:
+ Glib main loop : ${gmloop}
Debugging output : ${want_debug}
"