[gnome-games] [libgames-support] Use detected CLUTTER_API_VERSION instead of 0.9



commit d23dc4a2f615302e71bd96fa783efee0c070d140
Author: Tim Horton <hortont svn gnome org>
Date:   Fri Jul 3 18:58:35 2009 -0400

    [libgames-support] Use detected CLUTTER_API_VERSION instead of 0.9

 configure.in                 |    1 +
 libgames-support/Makefile.am |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 36b68bf..4125a10 100644
--- a/configure.in
+++ b/configure.in
@@ -652,6 +652,7 @@ if test "$need_clutter" = "yes"; then
     AC_MSG_ERROR([no clutter found])
   fi
   AC_MSG_RESULT([$CLUTTER_API_VERSION])
+  AC_SUBST([CLUTTER_API_VERSION])
 
   CLUTTER_REQUIRED=0.9.6
   CLUTTER_GTK_REQUIRED=0.9.2
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 0ace3ea..f3b9415 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -358,15 +358,15 @@ GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support.la
 	--strip-prefix=games \
 	$(INCLUDES) \
 	--add-include-path=$(srcdir) --add-include=path=. \
-	--include=Clutter-0.9 \
-	--include=Cogl-0.9 \
+	--include=Clutter-$(CLUTTER_API_VERSION) \
+	--include=Cogl-$(CLUTTER_API_VERSION) \
 	--include=Gtk-2.0 \
 	--library=games-support \
 	--output $@ \
 	--pkg gobject-2.0 \
 	--pkg gtk+-2.0 \
-	--pkg clutter-0.9 \
-	--pkg cogl-0.9 \
+	--pkg clutter-$(CLUTTER_API_VERSION) \
+	--pkg cogl-$(CLUTTER_API_VERSION) \
 	$(libgames_support_la_SOURCES) /usr/include/ggz*.h
 
 BUILT_GIRSOURCES += GnomeGamesSupport-1.0.gir



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]