main: remove whitespace added for compatibility with older pkg-config (closes #113)

pull/116/head
William Pitcock 2017-02-07 10:11:12 -06:00
parent b0c36cd128
commit 2dcd749601
10 changed files with 77 additions and 77 deletions

2
main.c
View File

@ -1160,7 +1160,7 @@ main(int argc, char *argv[])
out_println: out_println:
if (want_flags & (PKG_CFLAGS|PKG_LIBS)) if (want_flags & (PKG_CFLAGS|PKG_LIBS))
printf(" \n"); printf("\n");
out: out:
pkgconf_client_deinit(&pkg_client); pkgconf_client_deinit(&pkg_client);

View File

@ -271,7 +271,7 @@ nolibs_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \ atf_check \
-o inline:" \n" \ -o inline:"\n" \
pkgconf --libs nolib pkgconf --libs nolib
} }
@ -279,7 +279,7 @@ nocflags_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \ atf_check \
-o inline:" \n" \ -o inline:"\n" \
pkgconf --cflags nocflag pkgconf --cflags nocflag
} }

View File

@ -77,7 +77,7 @@ keep_system_libs_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" LIBRARY_PATH="/test/local/lib" export PKG_CONFIG_PATH="${selfdir}/lib1" LIBRARY_PATH="/test/local/lib"
atf_check \ atf_check \
-o inline:" \n" \ -o inline:"\n" \
pkgconf --libs-only-L cflags-libs-only pkgconf --libs-only-L cflags-libs-only
atf_check \ atf_check \
@ -132,7 +132,7 @@ incomplete_libs_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \ atf_check \
-o inline:" \n" \ -o inline:"\n" \
pkgconf --libs incomplete pkgconf --libs incomplete
} }
@ -140,7 +140,7 @@ incomplete_cflags_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \ atf_check \
-o inline:" \n" \ -o inline:"\n" \
pkgconf --cflags incomplete pkgconf --cflags incomplete
} }

View File

@ -83,6 +83,6 @@ missing_body()
atf_check \ atf_check \
-s exit:1 \ -s exit:1 \
-e ignore \ -e ignore \
-o inline:" \n" \ -o inline:"\n" \
pkgconf --cflags missing-require pkgconf --cflags missing-require
} }