aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac73
-rw-r--r--matchbox/mb-wm-config.h.in3
-rw-r--r--util/Makefile.am5
3 files changed, 56 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac
index 07fdca0..93b53bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,16 +39,20 @@ AC_CHECK_FUNCS([memset strdup strncasecmp])
needed_pkgs="x11 "
AC_ARG_ENABLE(cairo-theme,
- [ --disable-cairo-theme Disable Cairo graphics rendering support],
- [use_cairo=$enableval], [use_cairo=yes])
+ [ --enable-cairo-theme Disable Cairo graphics rendering support],
+ [use_cairo=$enableval], [use_cairo=no])
AC_ARG_ENABLE(png-theme,
[ --enable-png-theme Enable PNG-based theme],
[png_theme=$enableval], [png_theme=no])
+AC_ARG_ENABLE(pango,
+ [ --enable-pango Enable use of pango for text layout],
+ [use_pango=$enableval], [use_pango=no])
+
AC_ARG_ENABLE(gtk,
- [ --disable-gtk Disable GTK integration support],
- [use_gtk=$enableval], [use_gtk=yes])
+ [ --enable-gtk Disable GTK integration support],
+ [use_gtk=$enableval], [use_gtk=no])
AC_ARG_ENABLE(debug,
[ --enable-debug Enable verbose debugging output],
@@ -57,22 +61,33 @@ AC_ARG_ENABLE(debug,
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),
- 'framework-only' (Compositing frameworks without a backend).],
+ backends are:
+ 'default' (XRender 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,
- [ --enable-glib-main-loop Enable use of glib main loop],
+ [ --enable-glib-main-loop Enable use of glib main loop],
[gmloop=$enableval], [gmloop=no])
AC_ARG_ENABLE(libmatchbox,
- [ --enable-libmatchbox Enable building as a library],
+ [ --enable-libmatchbox Enable building as a library],
[libmatchbox=$enableval], [libmatchbox=no])
+AC_ARG_ENABLE(matchbox-remote,
+ [ --enable-matchbox-remote Enable matchbox remote control utility],
+ [matchbox_remote=$enableval], [matchbox_remote=no])
+
if test "x$use_cairo" = "xyes"; then
needed_pkgs="$needed_pkgs pangocairo "
-else
+fi
+
+if test "x$use_pango" = "xyes"; then
+ needed_pkgs="$needed_pkgs pangoxft "
+fi
+
+if ! test "x$use_pango" = "xyes" -o "x$use_pango" = "xyes"; then
needed_pkgs="$needed_pkgs xft "
fi
@@ -116,6 +131,12 @@ if test "$use_cairo" = yes; then
fi
AC_SUBST(USE_CAIRO)
+USE_PANGO=0
+if test "$use_pango" = yes; then
+ USE_PANGO=1
+fi
+AC_SUBST(USE_PANGO)
+
THEME_PNG=0
AM_CONDITIONAL(THEME_PNG, [test "x$png_theme" = "xyes"])
if test "$png_theme" = yes; then
@@ -168,12 +189,14 @@ AC_SUBST(COMP_MGR_BACKEND)
AM_CONDITIONAL(ENABLE_LIBMATCHBOX, [test "x$libmatchbox" = "xyes"])
+AM_CONDITIONAL(ENABLE_MATCHBOX_REMOTE, [test "x$matchbox_remote" = "xyes"])
+
AC_ARG_ENABLE(simple-manager,
[ --disable-simple-manager Do not build simple window manager],
[simple_manager=$enableval], [simple_manager=yes])
AC_ARG_ENABLE(maemo-manager,
- [ --enable-maemo-manager Build maemo window manager],
+ [ --enable-maemo-manager Build maemo window manager],
[maemo_manager=$enableval], [maemo_manager=no])
if test $simple_manager = yes; then
@@ -248,26 +271,28 @@ echo "
Directories:
source code location: ${srcdir}
- install prefix : ${prefix}
+ install prefix : ${prefix}
Extension:
- Xfixes : ${have_xfixes}
- Xext : ${have_xext}
- Xcursor : ${have_xcursor}
+ Xfixes : ${have_xfixes}
+ Xext : ${have_xext}
+ Xcursor : ${have_xcursor}
Themes:
- Cairo theme : ${use_cairo}
- PNG theme : ${png_theme}
- GTK integration : ${use_gtk}
+ Cairo theme : ${use_cairo}
+ PNG theme : ${png_theme}
+ GTK integration : ${use_gtk}
+ Pango integration : ${use_pango}
Managers:
- Simple manager : ${simple_manager}
- Maemo manager : ${maemo_manager}
+ Simple manager : ${simple_manager}
+ Maemo manager : ${maemo_manager}
- Compositing manager : ${comp_mgr}
+ Compositing manager : ${comp_mgr}
Miscel:
- Glib main loop : ${gmloop}
- Build libmatchbox : ${libmatchbox}
- Debugging output : ${want_debug}
+ Glib main loop : ${gmloop}
+ Build libmatchbox : ${libmatchbox}
+ Build matchbox-remote : ${matchbox_remote}
+ Debugging output : ${want_debug}
"
diff --git a/matchbox/mb-wm-config.h.in b/matchbox/mb-wm-config.h.in
index a233537..89cc34c 100644
--- a/matchbox/mb-wm-config.h.in
+++ b/matchbox/mb-wm-config.h.in
@@ -11,6 +11,9 @@
/* Use cairo for theme rendering */
#define USE_CAIRO @USE_CAIRO@
+/* Use pango for text layout */
+#define USE_PANGO @USE_PANGO@
+
/* Build simple, plain X, theme engine */
#define THEME_SIMPLE @THEME_SIMPLE@
diff --git a/util/Makefile.am b/util/Makefile.am
index c4a6ecd..8d21dee 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -1,5 +1,8 @@
+if ENABLE_MATCHBOX_REMOTE
bin_PROGRAMS = matchbox-remote
matchbox_remote_SOURCES = matchbox-remote.c
-matchbox_remote_LDADD = $(MBWM_LIBS) \ No newline at end of file
+matchbox_remote_LDADD = $(MBWM_LIBS)
+endif
+