!! documentation (eg new macros)
* copyrights on m4 files, aclocal output
-* should skip AC_DEFUN lines; otherwise scanning aclocal.m4 can
- mess up somewhat (eg think it sees a macro that is defined but
- not used)
-
-* should not "handle" AC_SUBST($1), etc. Ooops
-
* should not put texiname_TEXINFOS into distribution
should rename this macro anyway, to foo_texi_DEPENDENCIES
{
# Make all ._o files depend on ansi2knr. Use a sneaky little
# hack to make it print nicely.
- &pretty_print_rule ('', '', (keys %de_ansi_objects,
+ &pretty_print_rule ('', '', (sort keys %de_ansi_objects,
':', '$(ANSI2KNR)'));
}
# Generate list of install dirs.
$output_rules .= "install-man: \$(MANS)\n";
$output_rules .= "\t\$(NORMAL_INSTALL)\n";
- foreach (keys %sections)
+ # Sort keys so that output is deterministic.
+ foreach (sort keys %sections)
{
push (@installdirs, '$(mandir)/man' . $_)
unless defined $options{'no-installman'};
# Generate install target.
local ($key);
- foreach $key (keys %inames)
+ foreach $key (sort keys %inames)
{
$_ = $install_man_format;
s/\@SECTION\@/$secmap{$key}/g;
$output_rules .= "\n";
$output_rules .= "uninstall-man:\n";
- foreach $key (keys %inames)
+ foreach $key (sort keys %inames)
{
$_ = $uninstall_man_format;
s/\@SECTION\@/$secmap{$key}/g;
'depend2');
local ($ext);
local ($need_cxx) = 0;
- foreach $ext (keys %cxx_extensions)
+ foreach $ext (sort keys %cxx_extensions)
{
$output_rules .=
&file_contents_with_transform ('s/\@EXT\@/' . $ext .'/g;'
$vars{'target_alias'} = 'target_alias';
$vars{'target_triplet'} = 'target';
}
- foreach $curs (keys %vars)
+ foreach $curs (sort keys %vars)
{
$output_vars .= "$curs = \@$vars{$curs}\@\n";
$contents{$curs} = "\@$vars{$curs}\@";
}
local ($curs);
- foreach $curs (keys %configure_vars)
+ foreach $curs (sort keys %configure_vars)
{
&define_configure_variable ($curs);
}
local ($clean_file) = $file . '-clean';
local ($one_name);
local ($X);
- foreach $X (keys %valid)
+ foreach $X (sort keys %valid)
{
$one_name = $X . '_' . $primary;
if (&variable_defined ($one_name))