pkg-config/check/check-whitespace
Dan Nicholson e6d33fb129 Revert "Unquote values of requested variables"
This reverts commit 50c2867f4a.
g_shell_quote doesn't match the quoting behavior of pkg-config when the
same variables are output via --cflags and similar.

https://bugs.freedesktop.org/show_bug.cgi?id=93284
2016-02-26 08:52:25 -08:00

13 lines
328 B
Bash
Executable file

#! /bin/sh
set -e
. ${srcdir}/common
# expect cflags from whitespace
RESULT='-Dlala=misc -I/usr/white\ space/include -I$(top_builddir) -Iinclude\ dir -Iother\ include\ dir'
run_test --cflags whitespace
# expect libs from whitespace
RESULT="-L/usr/white\\ space/lib -lfoo\\ bar -lbar\\ baz -r:foo"
run_test --libs whitespace