[Top][All Lists]
[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 16:45:33 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.107 |
Miles Bader <address@hidden> writes:
|> I've just tried to compile emacs using autoconf-2.52 with the new
|> patches, and things break slightly because of the following line in
|> `configure.in':
|>
|> configuration=$host_alias
|>
|> The problem is that in autoconf-2.13, `host_alias' was always set, if
|> not by the user via the configure command line, then by autoconf using
|> config.guess. In autoconf-2.52, on the other hand, host_alias is only
|> set if the user actually specifies a host on the configure command line.
|>
|> Among other things, this leads to `exec-directory' having the wrong
|> value, so describe-variable/function don't work.
|>
|> I changed it to:
|>
|> configuration=${host_alias:-$host}
Yes, that looks ok, except that you should probably use
${host_alias-$host} (without the colon) which is more portable. I didn't
notice because I always explicitly specify a host.
|> which seems to solve the problem for me, but I'm not entirely sure if
|> it's the correct fix (is there really any reason not to just use $host
|> unconditionally?).
$host is the canonicalized version of $host_alias, which can be different.
We probably want to prefer the name that the user specified.
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
- Re: Building fails on Debian woody because of stupid autoconf wrapper, (continued)
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Andreas Schwab, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Eli Zaretskii, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Andreas Schwab, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Eli Zaretskii, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Andreas Schwab, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Gerd Moellmann, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Andreas Schwab, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Miles Bader, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Gerd Moellmann, 2001/10/19
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Miles Bader, 2001/10/19
- Re: Building fails on Debian woody because of stupid autoconf wrapper,
Andreas Schwab <=
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Miles Bader, 2001/10/19
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Andreas Schwab, 2001/10/19
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Miles Bader, 2001/10/19
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Gerd Moellmann, 2001/10/19
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Kai Großjohann, 2001/10/18
- Re: Building fails on Debian woody because of stupid autoconf wrapper, Eli Zaretskii, 2001/10/18
Re: Building fails on Debian woody because of stupid autoconf wrapper, Kai Großjohann, 2001/10/19