autogen.sh: Use STDOUT for --help output (as configure does)
Without this, first lines (up to "Other arguments passed directly to configure:" inclusive) go to STDERR, while the rest to STDOUT Change-Id: I95327d1ebe7941e5eb89f941ff1f9dc59297946b Reviewed-on: https://gerrit.libreoffice.org/31999 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -176,10 +176,10 @@ die "Failed to generate the configure script" if (! -f "configure");
|
||||
# Handle help arguments first, so we don't clobber autogen.lastrun
|
||||
for my $arg (@ARGV) {
|
||||
if ($arg =~ /^(--help|-h|-\?)$/) {
|
||||
print STDERR "autogen.sh - libreoffice configuration helper\n";
|
||||
print STDERR " --clean forcibly re-generate configuration\n";
|
||||
print STDERR " --best-effort don't fail on un-known configure with/enable options\n";
|
||||
print STDERR "\nOther arguments passed directly to configure:\n\n";
|
||||
print STDOUT "autogen.sh - libreoffice configuration helper\n";
|
||||
print STDOUT " --clean forcibly re-generate configuration\n";
|
||||
print STDOUT " --best-effort don't fail on un-known configure with/enable options\n";
|
||||
print STDOUT "\nOther arguments passed directly to configure:\n\n";
|
||||
system ("./configure --help");
|
||||
exit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user