# FIXME: probably ought to let use override this like we do in `defs'.
amfile=../../automake
-head -n 1 $amfile >>automake_tmp
+sed 1q $amfile >>automake_tmp
cat << 'END' >> automake_tmp
my $failed = 0;
sub check_reduce($$) {
my @result = sort &Automake::variable_conditions_reduce(@$inref);
my $correct = 1;
$correct = 0 if (join(",", @result) ne join(",", @$outref));
-
+
if (! $correct) {
print '"'.join(",", @$inref) . '" => "' .
join(",", @result) . '" expected "' .