* pkg.m4: Don't use --errors-to-stdout in pkg.m4, but rather
redirect stderr to stdout. This makes pkg.m4 with old (pre 0.15)
pkg-config look good, and it makes newer pkg-config with ancient
pkg.m4 work well. Gnome #111054
2007-12-29 Tollef Fog Heen <tfheen@err.no>
+ * pkg.m4: Don't use --errors-to-stdout in pkg.m4, but rather
+ redirect stderr to stdout. This makes pkg.m4 with old (pre 0.15)
+ pkg-config look good, and it makes newer pkg-config with ancient
+ pkg.m4 work well. Gnome #111054
+
* Update to glib 1.2.10, adjust lots of the glib patches. Gnome
#81847.
if test $pkg_failed = yes; then
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD