[Libreoffice-commits] core.git: autogen.sh
Mike Kaganski
mike.kaganski at collabora.com
Wed Dec 14 14:45:54 UTC 2016
autogen.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c10e82ada28a49a7d4d44e804f49949fcd3417fc
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Wed Dec 14 10:27:23 2016 +0300
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 at libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/autogen.sh b/autogen.sh
index 6c3856a..b021ccc 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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;
}
More information about the Libreoffice-commits
mailing list