diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-09-11 17:45:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-11 10:24:39 -0700 |
commit | 40bfbde9da5c6cbc85f49a755f27162dc966fd89 (patch) | |
tree | 2706e7d6158feb1a5827b4513dff5f023425698b /t/t3300-funny-names.sh | |
parent | build: improve GIT_CONF_SUBST signature (diff) | |
download | tgif-40bfbde9da5c6cbc85f49a755f27162dc966fd89.tar.xz |
build: don't duplicate substitution of make variables
Thanks to our 'GIT_CONF_SUBST' layer in configure.ac, a make variable 'VAR'
can be defined to a value 'VAL' at ./configure runtime in our build system
simply by using "GIT_CONF_SUBST([VAR], [VAL])" in configure.ac, rather than
having both to call "AC_SUBST([VAR], [VAL])" in configure.ac and adding the
'VAR = @VAR@' definition in config.mak.in. Less duplication, less margin
for error, less possibility of confusion.
While at it, fix some formatting issues in configure.ac that unnecessarily
obscured the code flow.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3300-funny-names.sh')
0 files changed, 0 insertions, 0 deletions