* config.sub: Fix regression in QNX recognition.

* testsuite/config-sub.data: Add some test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Elad Lahav 2020-09-08 09:26:26 +10:00 committed by Ben Elliston
parent 0b5188819b
commit e072cc210e
3 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2020-09-08 Elad Lahav <e2lahav@gmail.com>
Ben Elliston <bje@gnu.org>
* config.sub: Fix regression in QNX recognition.
* testsuite/config-sub.data: Add some test cases.
2020-08-17 Issam E. Maghni <issam.e.maghni@mailbox.org>
* config.guess: Replace "if [ EXPR ]" with "if test EXPR".

12
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2020 Free Software Foundation, Inc.
timestamp='2020-08-17'
timestamp='2020-09-08'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -1367,13 +1367,7 @@ case $os in
os=psos
;;
qnx*)
case $cpu in
x86 | i*86)
;;
*)
os=nto-$os
;;
esac
os=qnx
;;
hiux*)
os=hiuxwe2
@ -1722,7 +1716,7 @@ case $os in
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* )
| nsk* | powerunix* | genode* | zvmoe* | qnx* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)

View File

@ -772,7 +772,9 @@ x86_64-ericsson-dicos x86_64-ericsson-dicos
x86_64-fuchsia x86_64-pc-fuchsia
x86_64-genode x86_64-pc-genode
x86_64-glidix x86_64-pc-glidix
x86_64-nto x86_64-pc-nto-qnx
x86_64-os108 x86_64-pc-os108
x86_64-qnx x86_64-pc-qnx
x86_64-pc-ptx x86_64-pc-ptx
x86_64-ptx x86_64-pc-ptx
x86_64-redox x86_64-pc-redox