From f88710d3e13a4854d19e683b8f969e89b41983dd Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 24 Jan 2017 21:27:11 +0000 Subject: m4: Fix indentation The pkg-config source code is full of weird whitespace, the sort that git diff --check would complain about. Attached is a small patch that cleans this up in pkg.m4 so that it doesn't propagate into other packages. https://bugs.freedesktop.org/show_bug.cgi?id=99522 --- pkg.m4.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg.m4.in b/pkg.m4.in index 2b341dd..45427e9 100644 --- a/pkg.m4.in +++ b/pkg.m4.in @@ -152,11 +152,11 @@ and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) + 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 --cflags --libs "$2" 2>&1` - else + else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs @@ -173,7 +173,7 @@ installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [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 -- cgit v1.2.1