ossp-pkg/platform/platform.sh 1.15 -> 1.16
--- platform.sh 2003/10/28 09:31:49 1.15
+++ platform.sh 2003/10/31 20:01:18 1.16
@@ -1,5 +1,5 @@
##
-## OSSP platform - Platform Identification
+## OSSP platform - Unix Platform Identification
## Copyright (c) 2003 The OSSP Project <http://www.ossp.org/>
## Copyright (c) 2003 Ralf S. Engelschall <rse@engelschall.com>
##
@@ -384,7 +384,10 @@
# determine architecture
AT="${UNAME_MACHINE}"
case "${AT}" in
- x86_64 ) AT='AMD64' ;;
+ ia64 ) AT="IA64" ;;
+ x86_64 ) AT='AMD64' ;;
+ parisc ) AT="HPPA32" ;;
+ parisc64 ) AT="HPPA64" ;;
esac
AP="${AT}"
case "${AP}" in
@@ -513,7 +516,7 @@
ST="[SGI ]IRIX ${v}"
v="${UNAME_RELEASE}"
SP="[SGI ]IRIX ${v}"
- SC="4.2BSD${opt_C}SVR3"
+ SC="4.2BSD/SVR3"
;;
# HP HP-UX
@@ -545,7 +548,7 @@
AC="${AP}"
# determine system
v=`echo "${UNAME_RELEASE}" | sed -e 's;^[^0-9]*;;'`
- ST="[HP ]HP-UX ${v}"
+ ST="[HP ]<HP>-<UX> ${v}"
SP="${ST}"
case "${v}" in
10.* ) SC="SVR4.2" ;;
@@ -597,7 +600,7 @@
esac
ST="[Apple ]${UNAME_SYSTEM} ${UNAME_RELEASE}"
SP="${ST}"
- SC="4.4BSD${opt_C}Mach3"
+ SC="4.4BSD/Mach3"
;;
# TODO ...ADD YOUR NEW PLATFORM CHECK HERE... TODO
|
|