[gthumb] configure: use gdk-3.0 to check the GDK target



commit ddd9becf669d3ff3c6a57d17a4a69957e5776de9
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Oct 8 09:18:39 2012 +0200

    configure: use gdk-3.0 to check the GDK target
    
    [bug #685674]

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fee2569..6b29d67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -555,7 +555,7 @@ AM_CONDITIONAL(ENABLE_WEB_ALBUMS, test "x$enable_web_albums" = xyes)
 
 dnl ===========================================================================
 
-GDK_TARGET="$($PKG_CONFIG --variable target gdk-2.0)"
+GDK_TARGET="$($PKG_CONFIG --variable targets gdk-3.0)"
 
 AC_MSG_CHECKING([which smclient backend to use])
 AC_ARG_WITH([smclient],
@@ -565,7 +565,7 @@ AC_ARG_WITH([smclient],
 
 if test "$with_smclient" == "auto"; then
   case "$GDK_TARGET" in
-    x11) with_smclient=xsmp ;;
+    *x11*) with_smclient=xsmp ;;
     *) with_smclient=no ;;
   esac
 fi



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