[configure] Do not use grep -q

Although mandated by POSIX, not all implementions[0] support this
option. Use redirection to /dev/null instead.

[0] http://docs.sun.com/app/docs/doc/816-5165/grep-1?a=view
This commit is contained in:
Florian Müllner 2010-07-09 20:06:18 +02:00
parent d9eb4702b2
commit a5f9039e12

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 -q gtk+-3; then
if $PKG_CONFIG --print-requires libmutter-private | grep gtk+-3 >/dev/null; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)