GNU bug report logs - #9587
Automake claims $(*F), $(<D), etc. are non-POSIX.

Previous Next

Package: automake;

Reported by: Nick Bowler <nbowler <at> elliptictech.com>

Date: Fri, 23 Sep 2011 19:03:02 UTC

Severity: minor

Tags: confirmed, help, pending

Full log


View this message in rfc822 format

From: Bogdan <bogdro_rep <at> gmx.us>
To: automake-patches <at> gnu.org, 9587 <at> debbugs.gnu.org
Subject: bug#9587: [PATCH] Automake claims $(*F), $(<D), etc. are non-POSIX.
Date: Thu, 23 Mar 2023 20:57:44 +0100
[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.