aboutsummaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@cygnus>1996-02-08 23:38:33 +0000
committerBrendan Kehoe <brendan@cygnus>1996-02-08 23:38:33 +0000
commit4c494515851247e6869716f5a11ed2fa1c6c1eaa (patch)
tree84a5f47d07f8d379f07b73c580790eeab4d592dd /config.guess
parent56b6469038214ac89ddf1b836a5b1a9edcb93a95 (diff)
downloadgdb-4c494515851247e6869716f5a11ed2fa1c6c1eaa.zip
gdb-4c494515851247e6869716f5a11ed2fa1c6c1eaa.tar.gz
gdb-4c494515851247e6869716f5a11ed2fa1c6c1eaa.tar.bz2
* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version.
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 9d28618..1d88aab 100755
--- a/config.guess
+++ b/config.guess
@@ -51,8 +51,9 @@ trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- alpha:OSF1:V*:*)
+ alpha:OSF1:[VX]*:*)
# After 1.2, OSF1 uses "V1.3" for uname -r.
+ # After 4.x, OSF1 uses "X4.x" for uname -r.
echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'`
exit 0 ;;
alpha:OSF1:*:*)
@@ -317,6 +318,12 @@ EOF
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
+ i*:CYGWIN*:*)
+ echo i386-unknown-cygwin32
+ exit 0 ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin32
+ exit 0 ;;
*:GNU:*:*)
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;