From 2a9e9415fa3281e57a18674b0061cd722ed1a52f Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Fri, 27 Sep 2002 22:34:45 +0000 Subject: [PATCH] Reordered checks to avoid mis-detection of OS/2 v. 4.* as System V Unix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- config.guess | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config.guess b/config.guess index dff9e481b7..a6237acddc 100755 --- a/config.guess +++ b/config.guess @@ -880,6 +880,13 @@ EOF rm -f $dummy.c $dummy test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + # Do this prior to checking i*86:*:version-number:* which tends + # to misdetect OS/2 as a system V unix. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both @@ -1088,11 +1095,6 @@ EOF fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;;