[master] 92d3f677e We don't need $(VTC_TESTS) in Makefiles

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Feb 13 21:45:10 UTC 2020


commit 92d3f677e1320205db79c092900b2bc04e3f1367
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Feb 13 22:33:41 2020 +0100

    We don't need $(VTC_TESTS) in Makefiles
    
    We only need the @VTC_TESTS@ substitution, and doing so saves around
    13kB per Makefile.

diff --git a/configure.ac b/configure.ac
index 297e8223e..61c19dbcc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -817,6 +817,7 @@ AC_DEFINE_UNQUOTED([VCC_CC],"$VCC_CC",[C compiler command line for VCL code])
 # Stupid automake needs this
 VTC_TESTS="$(cd $srcdir/bin/varnishtest && echo tests/*.vtc)"
 AC_SUBST(VTC_TESTS)
+AM_SUBST_NOTMAKE(VTC_TESTS)
 
 VSC_SRC="$(cd $srcdir/bin/varnishd && echo *.vsc)"
 VSC_GEN_C="$(echo $VSC_SRC | sed 's:\.vsc:.c:g')"


More information about the varnish-commit mailing list