GNU bug report logs -
#9587
Automake claims $(*F), $(<D), etc. are non-POSIX.
Previous Next
Full log
Message #27 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello again.
The attached patch allows the following symbols not to cause
Automake errors about non-POSIX variables (and updates the test):
$(@F) $(%F) $(?F) $(<F) $(*F) $(@D) $(%D) $(?D) $(<D) $(*D) $(%)
$(?) $(<) $(*) $% $? $< $*
I don't have the POSIX standard and didn't find any references to
POSIX variables in GNU make's manual, so I assume the quotation in the
defect report is correct.
The patch doesn't do anything to check if the variables are
supported by the end-user's 'make', because it's not the end-user's
'make' which decides what is portable or not. The message is not
changed either.
I don't know if "$(<:.foo=.bar)" should be allowed, but that seems
to be taken care of in
lib/Automake/Variable.pm:scan_variable_expansions anyway (resulting in
just "<" in this example).
Fixes bug#9587.
--
Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS)
X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php
Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm
www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
[automake-posix-vars-mail.diff (text/x-patch, attachment)]
This bug report was last modified 1 year and 203 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.