GNU bug report logs -
#79266
Replacement (substitution) variable references not supported in TESTS
Previous Next
Full log
View this message in rfc822 format
Hi Richard,
I did not see any mention of this issue in the manual or existing bug
reports. Please let me know if I overlooked something.
Pretty sure you haven't overlooked anything. Don't recall seeing
any mention of this before.
I will send a patch adding test cases as soon as I know what this
bug's number will be.
79266, evidently.
I am willing to propose patches to fix this;
Thanks much!
a pointer to where in the code this bug lives would be appreciated.
I took a quick look at bin/automake.in for regexps using %,
searching for "s/.*%". The one that looks suspicious to me is around
line 6966, in the fn preprocess_file:
# Substitute Automake template tokens.
s/(?: % \?? [\w\-]+ %
| \? !? [\w\-]+ \?
)/transform($&, %transform)/gex;
which looks like it's replacing more or less any word chars between two
% (or ?) signs with the result of calling the (passed) transform fn.
What exactly these "templates" and "transformations" are about, I'm
afraid I have no good idea. We'll have to dig in ... I hope you can, as
it will be a couple weeks (at best) before I can take any serious look
at the code.
Thanks again,
Karl
This bug report was last modified 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.