about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1996-02-12 20:55:56 +0000
committerPer Bothner <per@bothner.com>1996-02-12 20:55:56 +0000
commita7cb7644cfd8d3c3916630b10791590fc8ca696a (patch)
tree18eb8cc3a03299c0baf08ef7758d36dd2534bd29
parent889a9677fdb9ff83965e80eba373ba90d8afaa51 (diff)
downloadglibc-a7cb7644cfd8d3c3916630b10791590fc8ca696a.tar.gz
glibc-a7cb7644cfd8d3c3916630b10791590fc8ca696a.tar.xz
glibc-a7cb7644cfd8d3c3916630b10791590fc8ca696a.zip
* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version. * config.guess (*:CYGWIN*): New
-rwxr-xr-xconfig.guess11
1 files changed, 9 insertions, 2 deletions
diff --git a/config.guess b/config.guess
index dc83e59c8c..afd200a33d 100755
--- a/config.guess
+++ b/config.guess
@@ -51,9 +51,10 @@ 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.
-	echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'`
+	# After 4.x, OSF1 uses "X4.x" for uname -r.
+	echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'`
 	exit 0 ;;
     alpha:OSF1:*:*)
 	# 1.2 uses "1.2" for uname -r.
@@ -323,6 +324,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 ;;