[evolution/tabs-rewrite] Option to build with clutter/MX
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/tabs-rewrite] Option to build with clutter/MX
- Date: Mon, 19 Jul 2010 03:48:08 +0000 (UTC)
commit e3b1afc19bb0f2b9eb46d6d39ef7aea2d06be7c0
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Thu Jul 15 22:39:55 2010 +0530
Option to build with clutter/MX
configure.ac | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e664073..4c9f8da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -641,6 +641,27 @@ if test x"$have_xfree" = "xyes" ; then
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 **************************************************
if test "$os_win32" != yes; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]