Kaydet (Commit) c10e82ad authored tarafından Mike Kaganski's avatar Mike Kaganski

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/31999Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 318e8142
......@@ -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;
}
......
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