From 78343bcbfe8f641dbf0777dcac8d693c7633b3cc Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 17 Sep 1999 00:13:24 +0000 Subject: [PATCH] 1999-09-17 Ben Elliston * config.guess: Detect QNX version 4. * config.sub: Handle `qnx' and `i386-qnx' aliases. --- ChangeLog | 5 +++++ config.guess | 3 +++ config.sub | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index b00b993c..88e31597 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-09-17 Ben Elliston + + * config.guess: Detect QNX version 4. + * config.sub: Handle `qnx' and `i386-qnx' aliases. + 1999-09-17 Erez Zadok * config.guess: Eliminate the trailing dot if ${UNAME_RELEASE} is diff --git a/config.guess b/config.guess index 35516017..57744816 100755 --- a/config.guess +++ b/config.guess @@ -971,6 +971,9 @@ EOF *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; + *:QNX:*:4*) + echo i386-qnx-qnx${UNAME_VERSION} + exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 diff --git a/config.sub b/config.sub index 5e75c9b4..6fc575f9 100755 --- a/config.sub +++ b/config.sub @@ -465,6 +465,9 @@ case $basic_machine in basic_machine=i386-unknown os=-mingw32 ;; + i386-qnx | qnx) + basic_machine=i386-qnx + ;; iris | iris4d) basic_machine=mips-sgi case $os in @@ -968,6 +971,9 @@ case $os in -oss*) os=-sysv3 ;; + -qnx) + os=-qnx4 + ;; -svr4) os=-sysv4 ;; -- 2.47.2