[gnome-games/gsoc-seed-games] [libgames-support] Use detected CLUTTER_API_VERSION instead of 0.9
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/gsoc-seed-games] [libgames-support] Use detected CLUTTER_API_VERSION instead of 0.9
- Date: Fri, 3 Jul 2009 22:59:48 +0000 (UTC)
commit 2a693f05bc46e8e908790d5797170bed526efdc5
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 eefc576..61e7f4a 100644
--- a/configure.in
+++ b/configure.in
@@ -574,6 +574,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.3
CLUTTER_GTK_REQUIRED=0.9.0
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 31088f5..bc9c246 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -299,15 +299,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]