[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update AROS host detection
From: |
Dmitry V. Levin |
Subject: |
Re: Update AROS host detection |
Date: |
Mon, 25 Jan 2021 22:00:09 +0300 |
On Sun, Jan 10, 2021 at 08:09:57PM +0000, Kalamatee wrote:
> AROS detection has been wrong for a number of years and only detects the
> i386 host.
> Please find attached a patch to correct the AROS case.
>
> build-aux/config.guess | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/build-aux/config.guess b/build-aux/config.guess
> index 699b3a10..fa6a27d5 100755
> --- a/build-aux/config.guess
> +++ b/build-aux/config.guess
> @@ -1480,8 +1480,8 @@ EOF
> i*86:rdos:*:*)
> echo "$UNAME_MACHINE"-pc-rdos
> exit ;;
> - i*86:AROS:*:*)
> - echo "$UNAME_MACHINE"-pc-aros
> + *:AROS:*:*)
> + echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-aros
> exit ;;
> x86_64:VMkernel:*:*)
> echo "$UNAME_MACHINE"-unknown-esx
Sorry, but this doesn't look correct:
$ make check
cd testsuite && bash config-guess.sh && rm uname
FAIL: i386-AROS-aros (expected i386-pc-aros)
Unexpected failures.
make: *** [Makefile:10: check-guess] Error 1
--
ldv