[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a couple of bugs
From: |
Ralf Wildenhues |
Subject: |
Re: a couple of bugs |
Date: |
Tue, 8 Jan 2008 21:56:05 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* Ralf Wildenhues wrote on Sun, Dec 16, 2007 at 11:08:36PM CET:
>
> - test 28 (autotools and whitespace in file names) fails on systems with
> no installed Automake due to missing aclocal. The empty aclocal.m4
> file should prevent it from being run, but the `aclocal --help' test
> in autoreconf seems to spoil that, bogusly.
I'm fixing that by discarding error output in autoreconf, as below.
Note that if aclocal or automake are eventually used later but not
present, the user will see error output from those calls, so I don't
think much information is lost here.
Cheers,
Ralf
* bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
diff --git a/bin/autoreconf.in b/bin/autoreconf.in
index e707446..fa48b20 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;
- Re: a couple of bugs,
Ralf Wildenhues <=