summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2017-01-24 21:27:11 +0000
committerDan Nicholson <dbn.lists@gmail.com>2017-03-19 12:50:16 -0500
commitf88710d3e13a4854d19e683b8f969e89b41983dd (patch)
treebc4049af68b3e778046347f72cda29aa6fcfc97e
parent7f4afa0214d93574b3b3609086b03f0c94b9c5ea (diff)
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
-rw-r--r--pkg.m4.in6
1 files 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