2001-01-31 Akim Demaille <akim@epita.fr>
+ * automake.in: maintainer-check fixes.
+
+
+2001-01-31 Akim Demaille <akim@epita.fr>
+
* automake.in (file_contents): Rewrite: instead of trying to parse
it line by line, first swallow it completely into $CONTENTS,
*then*, parse it *paragraph* by paragraph.
if ($macro eq 'AC_CONFIG_FILES')
{
# Look at potential Makefile.am's.
- &scan_autoconf_config_files (@args[0]);
+ &scan_autoconf_config_files ($args[0]);
}
elsif ($macro eq '_AC_LIBOBJ_DECL')
{
- local ($source) = "@args[0].c";
+ local ($source) = "$args[0].c";
# We should actually also `close' the sources: getopt.c
# wants getopt.h etc. But actually it should be done in the
# macro itself, i.e., we have to first fix Autoconf to extend
}
elsif ($macro eq 'AC_SUBST')
{
- if (!defined $configure_vars{@args[0]})
+ if (!defined $configure_vars{$args[0]})
{
- print STDERR "traces: discovered AC_SUBST(@args[0])\n";
- $configure_vars{@args[0]} = $here;
+ print STDERR "traces: discovered AC_SUBST($args[0])\n";
+ $configure_vars{$args[0]} = $here;
}
}
}
else
{
# This isn't an error; it is probably some tokens which
- # configure is supposed to replace, such as `@SET_MAKE@'.
+ # configure is supposed to replace, such as `@SET-MAKE@'.
$result_rules .= "$comment$separator$_\n";
$comment = $separator = '';
}