From 5bcd16f4d7bd1f5fa61b00ce69c335e5451d3aae Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 15 Jul 2010 22:39:55 +0530 Subject: Option to build with clutter/MX --- configure.ac | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 78a815db01..c578a6c958 100644 --- a/configure.ac +++ b/configure.ac @@ -642,6 +642,27 @@ if test x"$have_xfree" = "xyes" ; then AC_DEFINE(HAVE_XFREE, 1, [defined if you have X11/XF86keysym.h]) fi +dnl ************************************************** +dnl Clutter support. +dnl ************************************************** +AC_MSG_CHECKING([whether to build with Clutter]) +AC_ARG_WITH([clutter], + [AC_HELP_STRING([--with-clutter], + [Build with Clutter [default=no]])], + with_clutter="$withval", with_clutter="no") +AC_MSG_RESULT($with_clutter) + +if test "x$with_clutter" = "xyes"; then + PKG_CHECK_MODULES(CLUTTER, [mx-1.0 clutter-gtk-0.90 >= 0.90.0 clutter-1.0 >= 1.0.0]) + + AC_DEFINE(HAVE_CLUTTER, 1, [Clutter available]) + AM_CONDITIONAL(ENABLE_CLUTTER, true) +else + AC_DEFINE(HAVE_CLUTTER, 0, [Clutter not available]) + AM_CONDITIONAL(ENABLE_CLUTTER, false) +fi + + dnl ************************************************** dnl LDAP support. dnl ************************************************** -- cgit