summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2011-04-13 22:02:51 +0200
committerTollef Fog Heen <tfheen@err.no>2011-04-13 22:02:51 +0200
commit1b1bd80f5fff35f20903489b0e988ba7a1159f95 (patch)
tree0ed2e85f2a1ff58ddf7aebe8e95c770333516e76 /check
parent4366f5842fc6ca0432c5dfa6b6dcb20d83aa4ee8 (diff)
downloadpkg-config-1b1bd80f5fff35f20903489b0e988ba7a1159f95.tar.gz
Allow $() through unescaped.
$(foo) is used for make escapes, so allow them through. Freedesktop #33920
Diffstat (limited to 'check')
-rwxr-xr-xcheck/check-whitespace2
-rw-r--r--check/whitespace.pc2
2 files changed, 2 insertions, 2 deletions
diff --git a/check/check-whitespace b/check/check-whitespace
index 31a413c..c328f74 100755
--- a/check/check-whitespace
+++ b/check/check-whitespace
@@ -11,7 +11,7 @@ set -e
# expect cflags from whitespace
ARGS="--cflags whitespace"
-RESULT="-Dlala=misc -I/usr/white\\ space/include -Iinclude\\ dir -Iother\\ include\\ dir"
+RESULT='-Dlala=misc -I/usr/white\ space/include -I$(top_builddir) -Iinclude\ dir -Iother\ include\ dir'
run_test
# expect libs from whitespace
diff --git a/check/whitespace.pc b/check/whitespace.pc
index 50a8742..693bbc4 100644
--- a/check/whitespace.pc
+++ b/check/whitespace.pc
@@ -8,4 +8,4 @@ Description: Dummy pkgconfig test package for testing pkgconfig
Version: 1.0.0
Requires:
Libs: -L${libdir} -lfoo\ bar "-lbar baz" -r:foo
-Cflags: -I${includedir} -Iinclude\ dir "-Iother include dir" -Dlala=misc
+Cflags: -I${includedir} -I$(top_builddir) -Iinclude\ dir "-Iother include dir" -Dlala=misc