summaryrefslogtreecommitdiff
path: root/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.in.in b/configure.in.in
index 27602b9..a2ad83f 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -21,10 +21,18 @@ 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.]))
+ [berylsettings_found="yes"],AC_MSG_WARN([berylsettings not found.]))
+
+ if test "$berylsettings_found" = "yes"; then
+ AC_DEFINE(HAVE_BERYL_SETTINGS,1,[check for berylsettings])
+ plugindir=$prefix/lib/beryl
+ AC_SUBST(plugindir)
+ fi
+
AC_SUBST(BERYLSETTINGS_LIBS)
AC_SUBST(BERYLSETTINGS_CFLAGS)
fi
+AM_CONDITIONAL(with_berylsettings, test "$berylsettings_found" = "yes")
+
AQUAMARINE_CHECK_KDECORATION