From 48dec25f221fdd2cc5984a63e8a400866e4a07fe Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 8 Jan 2008 21:55:47 +0100 Subject: [PATCH] * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help. --- ChangeLog | 4 ++++ bin/autoreconf.in | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 412d0e57..57299a98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-08 Ralf Wildenhues + + * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help. + 2007-12-16 Ralf Wildenhues Fix some write failure cases in Autotest. diff --git a/bin/autoreconf.in b/bin/autoreconf.in index e7074466..fa48b201 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -6,8 +6,8 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' if 0; # autoreconf - install the GNU Build System in a directory tree -# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 -# Free Software Foundation, Inc. +# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, +# 2007, 2008 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -177,8 +177,8 @@ sub parse_args () } } - $aclocal_supports_force = `$aclocal --help` =~ /--force/; - $automake_supports_force_missing = `$automake --help` =~ /--force-missing/; + $aclocal_supports_force = `$aclocal --help 2>/dev/null` =~ /--force/; + $automake_supports_force_missing = `$automake --help 2>/dev/null` =~ /--force-missing/; # Dispatch autoreconf's option to the tools. # --include; -- 2.47.2