This is file patch-02-AC_MSG_RESULT for pkg-config-0.21 Ensure matching AC_MSG_CHECKING ... AC_MSG_RESULT pairs. The autoconf manual (autoconf.info) says: -- Macro: AC_MSG_CHECKING (FEATURE-DESCRIPTION) Notify the user that `configure' is checking for a particular feature. This macro prints a message that starts with `checking ' and ends with `...' and no newline. It must be followed by a call to `AC_MSG_RESULT' to print the result of the check and the newline. diff -ur pkg-config-0.21.orig/pkg.m4 pkg-config-0.21/pkg.m4 --- pkg-config-0.21.orig/pkg.m4 2006-08-16 19:05:30.000000000 +0200 +++ pkg-config-0.21/pkg.m4 2007-01-19 11:42:00.000000000 +0100 @@ -117,6 +117,7 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) _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"` @@ -136,9 +137,9 @@ _PKG_TEXT ])], - [AC_MSG_RESULT([no]) - $4]) + [$4]) elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full