aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1994-09-19 18:28:35 -0700
committerPer Bothner <bothner@gcc.gnu.org>1994-09-19 18:28:35 -0700
commit84555e5df4b9af4be38ac9c9b037abecde70821c (patch)
tree47ae177c78a9ac5336591b8386091b40d956c367 /gcc
parente082358bff5d10e50a5aebb4b864853558237216 (diff)
downloadgcc-84555e5df4b9af4be38ac9c9b037abecde70821c.zip
gcc-84555e5df4b9af4be38ac9c9b037abecde70821c.tar.gz
gcc-84555e5df4b9af4be38ac9c9b037abecde70821c.tar.bz2
Patches for HPUX, and SunOS4 (Japanese).
From-SVN: r8096
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/config.guess9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/config.guess b/gcc/config.guess
index be77c82..73139dd 100755
--- a/gcc/config.guess
+++ b/gcc/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:*:*)