From: Pádraig Brady Date: Thu, 28 Jan 2010 18:12:20 +0000 (+0000) Subject: maint: use $(CONFIG_INCLUDE) rather than the hardcoding lib/config.h X-Git-Tag: v8.5~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e8f368e079cd7ae830c1bf64f82db4ea7d00397;p=thirdparty%2Fcoreutils.git 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" --- diff --git a/tests/check.mk b/tests/check.mk index 86f7dc2a95..d3b08e0954 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)' \