summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2016-12-14 10:27:23 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2016-12-14 14:45:18 +0000
commitc10e82ada28a49a7d4d44e804f49949fcd3417fc (patch)
tree05496471c83671303e8e6fe4aa331479c8ee5b3b /autogen.sh
parent318e8142c6d170a56204ba07f69fb95164f60569 (diff)
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>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 6c3856af8ac8..b021ccc05f29 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;
}