gnome-games r7979 - trunk



Author: chpe
Date: Wed Oct  8 20:02:03 2008
New Revision: 7979
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7979&view=rev

Log:
Update gtk req to 2.14.0.
Check for smclient dependencies.

Modified:
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Wed Oct  8 20:02:03 2008
@@ -328,7 +328,7 @@
 elif test "$with_platform" = "hildon"; then
 GTK_REQUIRED=2.10.0
 else
-GTK_REQUIRED=2.12.0
+GTK_REQUIRED=2.14.0
 fi
 
 GCONF_REQUIRED=2.0
@@ -506,6 +506,7 @@
 
 # SMClient
 
+SMCLIENT_PKGS=
 if test "$allow_smclient" = "yes"; then
   GDK_TARGET="$($PKG_CONFIG --variable target gdk-2.0)"
 
@@ -515,7 +516,7 @@
     [],
     [case "$with_platform" in
        gnome|gtk-only) case "$GDK_TARGET" in
-                         x11) with_smclient=xsmp ;;
+                         x11) with_smclient=xsmp SMCLIENT_PKGS="sm" ;;
                          win32|quartz) with_smclient=$GDK_TARGET ;;
                          *) with_smclient=no ;;
                        esac
@@ -525,6 +526,10 @@
   AC_MSG_RESULT([$with_smclient])
 
   if test "$with_smclient" != "no"; then
+    if test -n "$SMCLIENT_PKGS"; then
+      PKG_CHECK_MODULES([SMCLIENT],[$SMCLIENT_PKGS])
+    fi
+
     AC_DEFINE([WITH_SMCLIENT],[1],[Define if smclient is enabled])
   fi
 



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