From 5014d16647514126a0c817254c8d07d3da4c91dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 9 Jul 2010 21:47:09 +0200 Subject: [PATCH] [configure] Use pkg-config --libs instead of --print-requires The latter was added in version 0.23 (0.25 is current), but distributions using version 0.22 are still out there ... --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bbdcd9eb7..a02752250 100644 --- a/configure.ac +++ b/configure.ac @@ -155,7 +155,7 @@ AC_PATH_PROG(mutter, [mutter]) AC_SUBST(mutter) AC_MSG_CHECKING([if mutter was compiled with GTK+-3.0]) -if $PKG_CONFIG --print-requires libmutter-private | grep gtk+-3 >/dev/null; then +if $PKG_CONFIG --libs libmutter-private | grep gtk-x11-3 >/dev/null; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no)