Subject: Re: bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems

From: Andreas Schwab <[email-masked]>
Date: Tue, 30 Aug 2011 20:59:13 +0200

Paul Eggert <[email-masked]> writes:

> Thanks, I put in the following slightly-more-conservative patch as bzr 105618,
> as I'm not sure what would work with non-GNU Linux ports.
>
> * configure.in (opsys): Add pattern *-gnu-linux*
> to recognize powerpc-gnu-linux-uclibc (Bug#9403).
> === modified file 'configure.in'
> --- configure.in	2011-08-26 07:12:16 +0000
> +++ configure.in	2011-08-30 15:55:03 +0000
> @@ -411,7 +411,7 @@
>  case "${canonical}" in
>
>    ## GNU/Linux ports
> -  *-*-linux-gnu*)
> +  *-*-linux-gnu* | *-gnu-linux*)

That's not correct.  The -gnu- in the example is the (free form) vendor
part.  What matters is -linux-uclibc, ie. you fail to match
powerpc-unknown-linux-uclibc which is the canonical form of
powerpc-linux-uclibc.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."