# 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',
'compiler' => 'A68COMPILE',
'compile_flag' => '-c',
'output_flag' => '-o',
- 'libtool_tag' => 'A68',
+ 'libtool_tag' => 'A68C',
'lder' => 'A68LD',
- 'ld' => '$(A68)',
+ 'ld' => '$(A68C)',
'pure' => 1,
'extensions' => ['.a68']);
{
# Hardcode the tags supported by Libtool 1.5.
%libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1,
- A68 => 1);
+ A68C => 1);
}
}
}
(
AMDEP => "one of the compiler tests\n"
. " AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,\n"
- . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC, AM_PROG_A68",
+ . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC, AM_PROG_A68C",
am__fastdepCC => 'AC_PROG_CC',
am__fastdepCCAS => 'AM_PROG_AS',
am__fastdepCXX => 'AC_PROG_CXX',
am__fastdepGCJ => 'AM_PROG_GCJ',
- am__fastdepA68 => 'AM_PROG_A68',
+ am__fastdepA68 => 'AM_PROG_A68C',
am__fastdepOBJC => 'AC_PROG_OBJC',
am__fastdepOBJCXX => 'AC_PROG_OBJCXX',
am__fastdepUPC => 'AM_PROG_UPC'
Automake includes support for Algol 68, using GCC.
Any package including Algol 68 code must define the output variable
-@code{A68} in @file{configure.ac}; the simplest way to do this is to use
-the @code{AC_PROG_A68} macro (@pxref{Particular Programs, , Particular
+@code{A68C} in @file{configure.ac}; the simplest way to do this is to use
+the @code{AC_PROG_A68C} macro (@pxref{Particular Programs, , Particular
Program Checks, autoconf, The Autoconf Manual}).
A few additional variables are defined when an Algol 68 source file is
seen:
@vtable @code
-@item A68
+@item A68C
The name of the Algol 68 compiler.
@item A68FLAGS
AC_CONFIG_SRCDIR([play.a68])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
-AC_PROG_A68
+AC_PROG_A68C
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
END
$AUTOMAKE --add-missing
cat > work.a68 << 'END'
-PROGRAM (puts ("We are working :-(\n"); 0)
+(puts ("We are working :-('n"))
END
cat > play.a68 << 'END'
-PROGRAM (puts ("We are playing :-)\n"); 0)
+(puts ("We are playing :-)'n"))
END
./configure