emacs-devel
[Top][All Lists]
Advanced

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

Re: Building fails on Debian woody because of stupid autoconf wrapper


From: Andreas Schwab
Subject: Re: Building fails on Debian woody because of stupid autoconf wrapper
Date: 19 Oct 2001 17:15:16 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.107

Miles Bader <address@hidden> writes:

|> Andreas Schwab <address@hidden> writes:
|> > you should probably use ${host_alias-$host} (without the colon) which
|> > is more portable.
|> 
|> Really?  I always thought it was :- that was more portable....  but I'll
|> take your word for it.

>From the autoconf docu:

`${VAR:-VALUE}'
     Old BSD shells, including the Ultrix `sh', don't accept the colon
     for any shell substitution, and complain and die.

|> I prefer to use :- because it's slightly more robust for many uses
|> (because it considers an empty definition as if it were non-existant).

I you prefer you could use "test -n".

Andreas.

-- 
Andreas Schwab                                  "And now for something
address@hidden                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

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