preliminary support for OSF/1

This commit is contained in:
Horst G. Burkhardt 2023-11-29 08:34:06 +00:00
parent 979e3950e9
commit 620bc2ca88

View file

@ -1029,6 +1029,7 @@ get_os() {
IRIX*) os=IRIX ;; IRIX*) os=IRIX ;;
FreeMiNT) os=FreeMiNT ;; FreeMiNT) os=FreeMiNT ;;
Interix) os=Interix ;; Interix) os=Interix ;;
OSF1) os=digitalUNIX ;;
Linux|GNU*) Linux|GNU*)
os=Linux os=Linux
@ -1474,6 +1475,10 @@ get_distro() {
Interix) Interix)
distro="Interix ${kernel_version}" distro="Interix ${kernel_version}"
;; ;;
digitalUNIX)
distro="digital UNIX ${$kernel_version}"
;;
esac esac
distro=${distro//Enterprise Server} distro=${distro//Enterprise Server}
@ -1482,7 +1487,7 @@ get_distro() {
# Get OS architecture. # Get OS architecture.
case $os in case $os in
Solaris|illumos|AIX|Haiku|IRIX|FreeMiNT|BSD) Solaris|illumos|AIX|Haiku|IRIX|FreeMiNT|BSD|digitalUNIX)
machine_arch=$(uname -p) machine_arch=$(uname -p)
;; ;;