summaryrefslogtreecommitdiff
path: root/check/config.sh.in
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-09-29 10:39:28 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-10-02 05:51:22 -0700
commit0e6ea44d68a08d9f1ecab3d6a4156570d93c8642 (patch)
treee04ce22ac2567653c51cec28ecb590f575696743 /check/config.sh.in
parentc7e12356bc90d2956f86c8a6ed7f47c4109cd1fe (diff)
downloadpkg-config-0e6ea44d68a08d9f1ecab3d6a4156570d93c8642.tar.gz
check: Check path handling
Add a test for pkg-config's path handling. The first test covers PKG_CONFIG_PATH, and the second covers the built-in path. For this one we need to unset the PKG_CONFIG_LIBDIR that normally is set during the tests. Since we can't rely on the contents of the default path, we just check to see that the built-in path matches what was specified in configure. To do this, we need to add a bunch of variables to config.sh so the variable resolves. These variables don't need to be exported, though.
Diffstat (limited to 'check/config.sh.in')
-rw-r--r--check/config.sh.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/check/config.sh.in b/check/config.sh.in
index de00780..5663ead 100644
--- a/check/config.sh.in
+++ b/check/config.sh.in
@@ -2,4 +2,13 @@
# Settings from the configure script
#
-export list_indirect_deps=@use_indirect_deps@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+includedir=@includedir@
+libdir=@libdir@
+datarootdir=@datarootdir@
+datadir=@datadir@
+pc_path="@pc_path@"
+system_include_path="@system_include_path@"
+system_library_path="@system_library_path@"
+list_indirect_deps=@use_indirect_deps@