summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorPer Bothner <bothner@cygnus.com>1994-09-20 01:28:35 +0000
committerPer Bothner <bothner@cygnus.com>1994-09-20 01:28:35 +0000
commit3a7aed0b94523cbe8fffd61c9de8fb6795c5a718 (patch)
tree06df81ee761bde1d1ad8bca2935cf64c0dca61bc /config.guess
parent7d2088bf64722dff6dcf23c1e8ef2388a12c83d6 (diff)
downloademacs-3a7aed0b94523cbe8fffd61c9de8fb6795c5a718.tar.gz
Patches for HPUX, and SunOS4 (Japanese).
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess9
1 files changed, 3 insertions, 6 deletions
diff --git a/config.guess b/config.guess
index be77c82eba6..73139ddf603 100755
--- a/config.guess
+++ b/config.guess
@@ -74,7 +74,8 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:*:*)
- echo sparc-sun-sunos${UNAME_RELEASE}
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
exit 0 ;;
sun3*:SunOS:*:*)
echo m68k-sun-sunos${UNAME_RELEASE}
@@ -168,11 +169,7 @@ EOF
9000/7?? | 9000/8?7 ) HP_ARCH=hppa1.1 ;;
9000/8?? ) HP_ARCH=hppa1.0 ;;
esac
- case ${UNAME_RELEASE} in
- *.B7.* ) HPUX_REV=7 ;;
- *.[B0]8.* ) HPUX_REV=8 ;;
- *.09.* ) HPUX_REV=9 ;;
- esac
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
3050*:HI-UX:*:*)