bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: AM_ICONV check fails with some shells


From: Ralf Wildenhues
Subject: Re: AM_ICONV check fails with some shells
Date: Tue, 1 Jul 2008 19:31:11 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Bruno Haible wrote on Tue, Jul 01, 2008 at 01:38:43PM CEST:
> > It fails with:
> > 
> > checking for iconv declaration... ./configure: "$as_me:$LINENO: result:
> > ${ac_t:- }
> >         $am_cv_proto_iconv": bad substitution
> 
> What is the shell that you are using (& version number)?

dash 0.5.4 for example, has the same issue.  The Autoconf manual
recommends quoting the literal (dunno what POSIX says):

| `${VAR=LITERAL}'
|      Be sure to quote:
| 
|           : ${var='Some words'}
| 
|      otherwise some shells, such as on Digital Unix V 5.0, die because
|      of a "bad substitution".

Note also that some old shells do not grok :- := :+ at all, but I
suppose that's not what's happened here.

Cheers,
Ralf




reply via email to

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