summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-11 16:52:22 +0000
committerBastien Nocera <hadess@hadess.net>2011-01-11 16:52:22 +0000
commit5356832819c294f46148ca47d2a15547899d7df8 (patch)
treeb5b2d4e24f92bf75396ab8e040c94b17cb5451e8
parentb518321abb3f5c7ae139250f3144e495b15ff406 (diff)
downloadtotem-5356832819c294f46148ca47d2a15547899d7df8.tar.gz
build: Detect X11 properly with newer GTK+
The "target" pkg-config variable was renamed to "targets". https://bugzilla.gnome.org/show_bug.cgi?id=639168
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 44ff8d848..ebd26f030 100644
--- a/configure.in
+++ b/configure.in
@@ -163,7 +163,7 @@ do
done
dnl Check the smclient backend
-GDK_TARGET="$($PKG_CONFIG --variable target gdk-3.0)"
+GDK_TARGET="$($PKG_CONFIG --variable targets gdk-3.0)"
SMCLIENT_PKGS=
AC_MSG_CHECKING([which smclient backend to use])
@@ -215,7 +215,7 @@ dnl *************************
dnl X11 related functionality
dnl *************************
have_x11=no
-if test x$(pkg-config --variable=target gtk+-3.0) = xx11; then
+if test x$(pkg-config --variable=targets gtk+-3.0) = xx11; then
AC_PATH_X
have_x11=yes