This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Automake 1.8.3 doesn't build?
- From: Eric Sunshine <sunshine at sunshineco dot com>
- To: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- Cc: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>, autoconf at gnu dot org, automake at gnu dot org
- Date: Sun, 18 Apr 2004 13:23:54 -0400
- Subject: Re: Automake 1.8.3 doesn't build?
- References: <Pine.GSO.4.44.0404180951430.11901-100000@scooby.simplesystems.org>
On Sun, 18 Apr 2004 10:02:14 -0500 (CDT), Bob Friesenhahn wrote:
> On Sun, 18 Apr 2004, Alexandre Duret-Lutz wrote:
> > This suggests that shell running this code does not split $list
> > and $subdir get the full list. Zsh would do that. Could you
> > compare the output of grep 'SHELL =' Makefile on the working and
> > non-working tarballs?
> Working:
> % grep 'SHELL =' Makefile
> SHELL = /bin/bash
> Non-working:
> % grep 'SHELL =' Makefile
> SHELL = /bin/zsh
> It is true that my login shell is /bin/zsh. This has never caused
> a problem before (I have been using zsh as my shell since 1996).
> It is incorrect to assume that the user's login shell is the shell
> that should be used.
CVS Autoconf looks for a shell which supports functions and $LINENO.
Apparently, your zsh satisfies those requirements, so Autoconf is happy with
it.
> Even if zsh is used, there are well-documented ways to tell Zsh to
> split arguments like the Bourne shell does. Unfortunately, this would
> require that extra cruft appear in the Makefiles.
Indeed, Autoconf invokes the goop to tell Zsh to split like Bourne, but this
doesn't help Automake-generated makefiles. Can you apply the following
manual edit to the configure script (not the configure.ac file) and report if
it fixes the problem?
In configure, find the line:
as_candidate_shells="$SHELL"
Change it to:
as_candidate_shells=""
If that resolves the problem, I will submit an appropriate patch for Autoconf.
-- ES