aboutsummaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-01-30 07:07:42 +0000
committerJeff Law <law@gcc.gnu.org>1999-01-30 00:07:42 -0700
commitc9ffaa6386dadc42960c619bc8566fb3b0c7c97a (patch)
treeb189e8906241c717e6ce2345f092bca4b7cd14de /config.guess
parent60432e68a3baf9ed026124aded9c76ed5b1c1ef3 (diff)
config.guess: Add support for i386-pc-interix.
* config.guess: Add support for i386-pc-interix. * config.sub: Likewise. * configure.in: Likewise. * config/mh-interix: New file. From-SVN: r24913
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.guess b/config.guess
index ff701fea9a9..28c45c8901f 100755
--- a/config.guess
+++ b/config.guess
@@ -1,6 +1,6 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 1999 Free Software Foundation, Inc.
#
# 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
@@ -529,6 +529,13 @@ EOF
i*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit 0 ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than generic posix subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # change UNAME_MACHINE based on the output of uname instead of
+ # i386?
+ echo i386-pc-interix
+ exit 0 ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin32
exit 0 ;;