[gnome-shell] [configure] Use pkg-config --libs instead of --print-requires



commit 5014d16647514126a0c817254c8d07d3da4c91dd
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jul 9 21:47:09 2010 +0200

    [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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bbdcd9e..a027522 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)



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