This is file patch-02-AC_MSG_RESULT for pkg-config-0.23 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.23.orig/pkg.m4 pkg-config-0.23/pkg.m4 --- pkg-config-0.23.orig/pkg.m4 2008-01-16 21:42:49.000000000 +0100 +++ pkg-config-0.23/pkg.m4 2008-10-13 10:03:26.000000000 +0200 @@ -115,6 +115,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 --print-errors "$2" 2>&1` @@ -134,9 +135,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