GNU bug report logs - #22556
25.0.90; autogen.sh automatic parameter isn't working

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Thu, 4 Feb 2016 18:19:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: David Caldwell <david <at> porkrind.org>
Cc: 22556 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
Subject: bug#22556: 25.0.90; autogen.sh automatic parameter isn't working
Date: Thu, 04 Feb 2016 21:32:51 -0500
David Caldwell wrote:

> Commit aca31e3815b9bd9c696cf0c74cc4a80ad7e35ec9 seems to have broken
> './autogen.sh'. It's requiring me to invoke it with the 'autoconf'
> parameter. A quick peek at the source looks like it should be automatic,
> but I think there's a bug in the shell code. At least, I needed this
> change to make the 'autoconf' automatic under bash.

I don't see the issue with bash, but I do with eg dash.

> -for arg in ${*-autoconf}; do
> +for arg in ${*:-autoconf}; do

The autoconf manual says that this is portable to all shells that
support functions, so it should be fine, since autogen.sh uses
functions.




This bug report was last modified 9 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.