[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 ...
This commit is contained in:
Florian Müllner 2010-07-09 21:47:09 +02:00
parent a5f9039e12
commit 5014d16647

View File

@ -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)