summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-03 14:34:08 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-03 14:34:08 +0200
commit1ddba51a83a9b07437d502cbeefa080047f338e7 (patch)
tree7c715028f0250e6f78810165eb458f2005221ba3 /configure.ac
parent427d33d5a2907476ca42749228b4e9103747f320 (diff)
downloadberyl-premerge-1ddba51a83a9b07437d502cbeefa080047f338e7.tar.gz
beryl-premerge-1ddba51a83a9b07437d502cbeefa080047f338e7.tar.bz2
added jpeg, made group build optional
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ba7c99a..6291b3c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,6 +144,28 @@ if test "$use_wall" = yes; then
AC_DEFINE(USE_WALL, 1, [Build wall plugin])
fi
+AC_ARG_ENABLE(group,
+ [ --disable-group Disable group plugin],
+ [use_groupe=$enableval], [use_group=yes])
+
+if test "x$use_group" = "xyes"; then
+ PKG_CHECK_MODULES(GROUP, cairo-xlib-xrender cairo >= 1.0, [use_group=yes], [use_group=no])
+fi
+
+AM_CONDITIONAL(GROUP_PLUGIN, test "x$use_group" = "xyes")
+if test "$use_group" = yes; then
+ AC_DEFINE(USE_GROUP, 1, [Build group plugin])
+fi
+
+AC_ARG_ENABLE(jpeg,
+ [ --disable-jpeg Disable jpeg plugin],
+ [use_jpege=$enableval], [use_jpeg=yes])
+
+AM_CONDITIONAL(JPEG_PLUGIN, test "x$use_jpeg" = "xyes")
+if test "$use_jpeg" = yes; then
+ AC_DEFINE(USE_JPEG, 1, [Build jpeg plugin])
+fi
+
AC_OUTPUT([
Makefile
src/Makefile