comparison configure.in @ 71687:3708db32ecd4

(PKG_CHECK_MODUILES): Redirect stderr of pkg-config to /dev/null, since we don't need the error message, just the exit status.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 Jul 2006 16:17:47 +0000
parents 2b8661046f9e
children a2bb452ff214 b19aaf4ab0ee
comparison
equal deleted inserted replaced
71686:e3898b4381f7 71687:3708db32ecd4
1498 else 1498 else
1499 PKG_CONFIG_MIN_VERSION=0.9.0 1499 PKG_CONFIG_MIN_VERSION=0.9.0
1500 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 1500 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
1501 AC_MSG_CHECKING(for $2) 1501 AC_MSG_CHECKING(for $2)
1502 1502
1503 if $PKG_CONFIG --exists "$2" ; then 1503 if $PKG_CONFIG --exists "$2" 2> /dev/null; then
1504 AC_MSG_RESULT(yes) 1504 AC_MSG_RESULT(yes)
1505 succeeded=yes 1505 succeeded=yes
1506 1506
1507 AC_MSG_CHECKING($1_CFLAGS) 1507 AC_MSG_CHECKING($1_CFLAGS)
1508 $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` 1508 $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`