gnome-games r8180 - trunk
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8180 - trunk
- Date: Wed, 22 Oct 2008 11:46:02 +0000 (UTC)
Author: chpe
Date: Wed Oct 22 11:46:02 2008
New Revision: 8180
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8180&view=rev
Log:
Search for clutter's API version, to support clutter 0.9.
Modified:
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Oct 22 11:46:02 2008
@@ -467,7 +467,17 @@
fi
if test "$enable_clutter" = "yes"; then
- CLUTTER_API_VERSION=0.8
+ CLUTTER_API_VERSION=
+ AC_MSG_CHECKING([for clutter API version])
+ for API_VERSION in 1.0 0.9 0.8; do
+ PKG_CHECK_EXISTS([clutter-$API_VERSION clutter-gtk-$API_VERSION clutter-cairo-$API_VERSION],
+ [CLUTTER_API_VERSION=$API_VERSION; break],[])
+ done
+ if test -z "$CLUTTER_API_VERSION"; then
+ AC_MSG_ERROR([no clutter found])
+ fi
+ AC_MSG_RESULT([$CLUTTER_API_VERSION])
+
CLUTTER_REQUIRED=0.8.0
CLUTTER_GTK_REQUIRED=0.8.0
CLUTTER_CAIRO_REQUIRED=0.8.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]