[gnome-games] build: Fix --with-gtk check



commit 92b6f06b3466e8f0e6bdc4c019319de49a32a432
Author: Christian Persch <chpe gnome org>
Date:   Fri Jul 2 22:46:05 2010 +0200

    build: Fix --with-gtk check
    
    Set the GTK_API_VERSION variable accordingly.

 configure.in |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 5f4accc..850624e 100644
--- a/configure.in
+++ b/configure.in
@@ -529,7 +529,8 @@ AM_CONDITIONAL([ENABLE_DEBUG_UI],[test "$enable_debug_ui" = "yes"])
 PYGTK_REQUIRED=2.14.0
 
 case "$with_gtk" in
-  2.0) if test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo3"; then
+  2.0) GTK_API_VERSION=2.0
+       if test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo3"; then
          GTK_REQUIRED=2.6.0
        elif test "$require_gtk_2_16" = "yes"; then
          GTK_REQUIRED=2.16.0
@@ -540,7 +541,8 @@ case "$with_gtk" in
        LIBCANBERRA_GTK_REQUIRED=0
        LIBCANBERRA_PKGS="libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED"
         ;;
-  3.0) GTK_REQUIRED=2.90.0
+  3.0) GTK_API_VERSION=3.0
+       GTK_REQUIRED=2.90.0
        RSVG_REQUIRED=2.26.4
        LIBCANBERRA_GTK_REQUIRED=0.24
        LIBCANBERRA_PKGS="libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED"



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