Commit fbc80d79 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

configure: Generate stand alone AC_CONFIG_FILES() lines.

parent 3a66a787
......@@ -229,10 +229,14 @@ foreach my $var (sort { $makerules{$a} cmp $makerules{$b}; } keys %makerules)
push @lines, "AC_SUBST_FILE($var)\n\n";
}
replace_in_file( "configure.ac", '^MAKE_RULES', '\]\)$',
@lines,
"AC_CONFIG_FILES([\n",
join ("\n", (sort values %makerules), (sort @makefiles) ), "])\n" );
foreach my $var ((sort values %makerules), (sort @makefiles))
{
push @lines, "AC_CONFIG_FILES([$var])\n";
}
push @lines, "\nAC_OUTPUT\n";
replace_in_file( "configure.ac", '^MAKE_RULES', '^AC_OUTPUT$', @lines);
################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment