aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Bothner1996-04-13 00:06:54 +0000
committerPer Bothner1996-04-13 00:06:54 +0000
commit8380f562c8d16ae4f701e82434489ce6685900b7 (patch)
tree14dd6dfddd86e12948171349422b7ebfa7684d50
parentd1fc67525ef7477fce47e2c80bdce9480073a722 (diff)
downloademacs-8380f562c8d16ae4f701e82434489ce6685900b7.tar.gz
emacs-8380f562c8d16ae4f701e82434489ce6685900b7.zip
* config.guess: Combine two OSF1 rules.
Also recognize field test versions. From mjr@zk3.dec.com. * config.guess (dgux): Use /usr/bin/uname rather than uname, because GNU uname does not support -p. From pmr@pajato.com.
-rwxr-xr-xconfig.guess14
1 files changed, 6 insertions, 8 deletions
diff --git a/config.guess b/config.guess
index 213b9eec16f..d8c24708afe 100755
--- a/config.guess
+++ b/config.guess
@@ -51,15 +51,13 @@ trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
51# Note: order is significant - the case branches are not exclusive. 51# Note: order is significant - the case branches are not exclusive.
52 52
53case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in 53case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
54 alpha:OSF1:[VX]*:*)
55 # After 1.2, OSF1 uses "V1.3" for uname -r.
56 # After 4.x, OSF1 uses "X4.x" for uname -r.
57 echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'`
58 exit 0 ;;
59 alpha:OSF1:*:*) 54 alpha:OSF1:*:*)
55 # A Vn.n version is a released version.
56 # A Tn.n version is a released field test version.
57 # A Xn.n version is an unreleased experimental baselevel.
60 # 1.2 uses "1.2" for uname -r. 58 # 1.2 uses "1.2" for uname -r.
61 echo alpha-dec-osf${UNAME_RELEASE} 59 echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
62 exit 0 ;; 60 exit 0 ;;
63 21064:Windows_NT:50:3) 61 21064:Windows_NT:50:3)
64 echo alpha-dec-winnt3.5 62 echo alpha-dec-winnt3.5
65 exit 0 ;; 63 exit 0 ;;
@@ -138,7 +136,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
138 exit 0 ;; 136 exit 0 ;;
139 AViiON:dgux:*:*) 137 AViiON:dgux:*:*)
140 # DG/UX returns AViiON for all architectures 138 # DG/UX returns AViiON for all architectures
141 UNAME_PROCESSOR=`uname -p` 139 UNAME_PROCESSOR=`/usr/bin/uname -p`
142 if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then 140 if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
143 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ 141 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
144 -o ${TARGET_BINARY_INTERFACE}x = x ] ; then 142 -o ${TARGET_BINARY_INTERFACE}x = x ] ; then