]> git.eshelyaron.com Git - emacs.git/commitdiff
(PKG_CHECK_MODUILES): Redirect stderr of pkg-config to /dev/null, since we
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Jul 2006 16:17:47 +0000 (16:17 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Jul 2006 16:17:47 +0000 (16:17 +0000)
don't need the error message, just the exit status.

configure.in

index e47e6ec94c733735b4239fe9328f3c33e0d97c0b..48ba5d0b2e6777d2b6800fe4d1154fb34eb009ff 100644 (file)
@@ -1500,7 +1500,7 @@ AC_DEFUN([PKG_CHECK_MODULES], [
      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
         AC_MSG_CHECKING(for $2)
 
-        if $PKG_CONFIG --exists "$2" ; then
+        if $PKG_CONFIG --exists "$2" 2> /dev/null; then
             AC_MSG_RESULT(yes)
             succeeded=yes