[bug#78033] [PATCH] algol68: rename A68 to A68C and AM_PROG_A68 to AM_PROG_A68C

Nick Bowler <[email protected]> Thu, 24 Apr 2025 21:07:43 -0400
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <kmrolv4kq57emd5cchtpugrzong2gkwr6vgq4tvqw7jqmbdf57@ptvg4h7cutuf>
On Thu, Apr 24, 2025 at 01:36:23PM +0200, Jose E. Marchesi wrote:
> While upstreaming the Algol 68 autoconf support it was pointed out that the
> shell variable A68 shall be renamed to A68C and that the macro AC_PROG_A68
> shall be renamed to AC_PROG_A68C.  This is to be more consistent to the
> support for other languages like Go.  This patch updates the Automake side.
[...]
> --- a/bin/automake.in
> +++ b/bin/automake.in
> @@ -1024,18 +1024,18 @@ register_language ('name' => 'java',
>  # Algol 68 in GCC
>  register_language ('name' => 'a68',
>                     'Name' => 'Algol 68',
> -                   'config_vars' => ['A68'],
> +                   'config_vars' => ['A68C'],
>                     'linker' => 'A68LINK',
>                     'link' => '$(A68LD) $(AM_A68FLAGS) $(A68FLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@',
>  		   'flags' => ['A68FLAGS'],
> -		   'compile' => '$(A68) $(AM_A68FLAGS) $(A68FLAGS)',
> -		   'ccer' => 'A68',
> +		   'compile' => '$(A68C) $(AM_A68FLAGS) $(A68FLAGS)',
> +		   'ccer' => 'A68C',

If the command variable name is being renamed to A68C then we should
also rename the flags variable to A68CFLAGS as per the GNU coding
standards.

Cheers,
  Nick