summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2014-02-10 08:04:31 -0800
committerDan Nicholson <nicholson@endlessm.com>2014-12-09 05:24:43 -0800
commit9294307b213c157db991d838654e7fef6842b1de (patch)
treeb555cb72322127f821cad2264c1bbeaca18a5acf /check
parent30437b47c81590bf8b9efffd19f9a42e6112b9cb (diff)
downloadpkg-config-9294307b213c157db991d838654e7fef6842b1de.tar.gz
Handle pcfiledir variable like normal variable
Rather than responding to the pcfiledir variable specially, store it in the hash table with all the other package specific variables. This does result in pcfiledir showing up in the --print-variables output.
Diffstat (limited to 'check')
-rwxr-xr-xcheck/check-print-options5
1 files changed, 3 insertions, 2 deletions
diff --git a/check/check-print-options b/check/check-print-options
index fcd94d6..bf18eac 100755
--- a/check/check-print-options
+++ b/check/check-print-options
@@ -12,13 +12,14 @@ RESULT=1.0.0
run_test --modversion simple
# --print-variables, make sure having no variables doesn't crash
-RESULT=""
+RESULT="pcfiledir"
run_test --print-variables no-variables
RESULT="exec_prefix
prefix
libdir
-includedir"
+includedir
+pcfiledir"
run_test --print-variables simple
# --print-provides