automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake 1.8.3 doesn't build?


From: Eric Sunshine
Subject: Re: Automake 1.8.3 doesn't build?
Date: Sun, 18 Apr 2004 13:23:54 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]