[gnome-games] build: Fix libcanberra-gtk check for gtk 3



commit 88f936594980148e42f5120c705d203c95ca3380
Author: Christian Persch <chpe gnome org>
Date:   Fri Jul 2 23:46:50 2010 +0200

    build: Fix libcanberra-gtk check for gtk 3
    
    Use libcanberra-gtk3 .pc file.

 configure.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index d52cb3c..c17dcea 100644
--- a/configure.in
+++ b/configure.in
@@ -539,13 +539,13 @@ case "$with_gtk" in
        fi
        RSVG_REQUIRED=2.14.0
        LIBCANBERRA_GTK_REQUIRED=0
-       LIBCANBERRA_PKGS="libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED"
+       LIBCANBERRA_GTK_PKGS="libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED"
         ;;
   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"
+       LIBCANBERRA_GTK_PKGS="libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED"
        ;;
 esac
 
@@ -691,7 +691,7 @@ AM_CONDITIONAL([WITH_GTHREAD],[test "$need_gthread" = "yes"])
 # libcanberra
 
 if test "$enable_sound" = "yes"; then
-  PKG_CHECK_MODULES([CANBERRA_GTK],[libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED],[],
+  PKG_CHECK_MODULES([CANBERRA_GTK],[$LIBCANBERRA_GTK_PKGS],[],
     [AC_MSG_ERROR([Sound support was requested, but libcanberra-gtk not found.])])
 
   AC_DEFINE([ENABLE_SOUND],[1],[Define if sound support is enabled])



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