[gnome-games] build: Fix clutter-gtk checks
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] build: Fix clutter-gtk checks
- Date: Fri, 2 Jul 2010 21:36:21 +0000 (UTC)
commit 42fe368e90c81de3f8a4ca9add349ca635598ba8
Author: Christian Persch <chpe gnome org>
Date: Fri Jul 2 23:35:49 2010 +0200
build: Fix clutter-gtk checks
configure.in | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/configure.in b/configure.in
index 3a3ec9f..d52cb3c 100644
--- a/configure.in
+++ b/configure.in
@@ -647,21 +647,15 @@ if test "$need_clutter" = "yes"; then
AC_SUBST([CLUTTER_LIBS])
case "$with_gtk" in
- 2.0) CLUTTER_GTK_API_VERSION=0.90
- CLUTTER_GTK_REQUIRED=0.90.0
+ 2.0) CLUTTER_GTK_API_VERSION=0.10
+ CLUTTER_GTK_REQUIRED=0.10.2
;;
- 3.0) CLUTTER_GTK_API_VERSION=FIXME
- CLUTTER_GTK_REQUIRED=FIXME
+ 3.0) CLUTTER_GTK_API_VERSION=0.90
+ CLUTTER_GTK_REQUIRED=0.90.0
;;
esac
- PKG_CHECK_MODULES([CLUTTER_GTK],
- [clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED],[],
- [if test "$with_gtk" = 2.0; then
- PKG_CHECK_MODULES([CLUTTER_GTK],[clutter-gtk-0.10 >= 0.10.2])
- else
- AC_MSG_ERROR([clutter-gtk-$CLUTTER_GTK_API_VERSION not found])
- fi])
+ PKG_CHECK_MODULES([CLUTTER_GTK],[clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED])
AC_SUBST([CLUTTER_GTK_CFLAGS])
AC_SUBST([CLUTTER_GTK_LIBS])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]