summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-01-28 18:12:20 +0000
committerPádraig Brady <P@draigBrady.com>2010-02-01 13:32:46 +0000
commit6e8f368e079cd7ae830c1bf64f82db4ea7d00397 (patch)
tree46e5de127fab45cb385808402a53cb301db48bf4
parent5d43617e8ad863ed041309edefd018fdcaa87038 (diff)
downloadcoreutils-6e8f368e079cd7ae830c1bf64f82db4ea7d00397.tar.xz
maint: use $(CONFIG_INCLUDE) rather than the hardcoding lib/config.h
* tests/check.mk (TESTS_ENVIRONMENT): Use the generated CONFIG_INCLUDE variable. Note $(abs_builddir)/$(CONFIG_HEADER) also currently works, but $(CONFIG_HEADER) is deprecated and may not be generated in future. $(CONFIG_INCLUDE) was made available by gnulib in commit, 22970f8a, "syntax-check: detect incorrect boolean macro values in config.h"
-rw-r--r--tests/check.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.mk b/tests/check.mk
index 86f7dc2a9..d3b08e095 100644
--- a/tests/check.mk
+++ b/tests/check.mk
@@ -79,7 +79,7 @@ TESTS_ENVIRONMENT = \
host_triplet='$(host_triplet)' \
srcdir='$(srcdir)' \
top_srcdir='$(top_srcdir)' \
- CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
+ CONFIG_HEADER='$(abs_top_builddir)/$(CONFIG_INCLUDE)' \
CU_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
CC='$(CC)' \
AWK='$(AWK)' \