summaryrefslogtreecommitdiff
path: root/configure.in.in
diff options
context:
space:
mode:
authoronestone <onestone>2006-12-05 19:22:19 +0000
committeronestone <onestone>2006-12-05 19:22:19 +0000
commitf9b70c34ce5407ffa23bc0147009b4d3d76b8761 (patch)
tree7b9ee6866bc78c533b2746778f1f8ca676a3ee7c /configure.in.in
parentdc255b3c8bc6f921da1d7db8a777dc8239a1c45d (diff)
downloadaquamarine-f9b70c34ce5407ffa23bc0147009b4d3d76b8761.tar.gz
aquamarine-f9b70c34ce5407ffa23bc0147009b4d3d76b8761.tar.bz2
aquamarine: Added KDE->Beryl integration
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
index d3e90b4..27602b9 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -11,4 +11,20 @@ KDE_CHECK_HEADER(kdecoration.h,HAVE_KDECORATION=1,
AC_MSG_ERROR([Unable to find KDecoration. Make sure you have the kdebase development package installed.]))
])
+BERYL_SETTINGS_REQUIRES="\
+ gtk+-2.0 >= 2.8.0 \
+ berylsettings \
+ beryl"
+
+AC_ARG_ENABLE(berylsettings, AC_HELP_STRING([--disable-berylsettings], [disable beryl settings]), [berylsettings="${enableval}"], [berylsettings="yes"])
+AM_CONDITIONAL(include_bs, test "$berylsettings" = "yes")
+
+if test "$berylsettings" = "yes"; then
+ KDE_PKG_CHECK_MODULES(BERYLSETTINGS, $BERYL_SETTINGS_REQUIRES,
+ AC_DEFINE(HAVE_BERYL_SETTINGS,1,[check for berylsettings]),
+ AC_MSG_WARN([berylsettings not found.]))
+ AC_SUBST(BERYLSETTINGS_LIBS)
+ AC_SUBST(BERYLSETTINGS_CFLAGS)
+fi
+
AQUAMARINE_CHECK_KDECORATION