forked from ariadne/pkgconf
main: remove whitespace added for compatibility with older pkg-config (closes #113)
parent
b0c36cd128
commit
2dcd749601
2
main.c
2
main.c
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue