automate-freebsd-systype-20050815

Determine freebsd systype automatically too.
Thanks to "Todd T. Fries" <todd@fries.net>
This commit is contained in:
Jim Rees 2005-08-15 21:36:53 +00:00
parent fab147e843
commit cdb51cf261

View File

@ -239,41 +239,11 @@ else
vm=${v#*.} vm=${v#*.}
AFS_SYSNAME="i386_obsd${vM}${vm}" AFS_SYSNAME="i386_obsd${vM}${vm}"
;; ;;
i?86-*-freebsd4.2*) i?86-*-freebsd?.*)
AFS_SYSNAME="i386_fbsd_42" v=${host#*freebsd}
;; vM=${v%.*}
i?86-*-freebsd4.3*) vm=${v#*.}
AFS_SYSNAME="i386_fbsd_43" AFS_SYSNAME="i386_fbsd_${vM}${vm}"
;;
i?86-*-freebsd4.4*)
AFS_SYSNAME="i386_fbsd_44"
;;
i?86-*-freebsd4.5*)
AFS_SYSNAME="i386_fbsd_45"
;;
i?86-*-freebsd4.6*)
AFS_SYSNAME="i386_fbsd_46"
;;
i?86-*-freebsd4.7*)
AFS_SYSNAME="i386_fbsd_47"
;;
i?86-*-freebsd5.0*)
AFS_SYSNAME="i386_fbsd_50"
;;
i?86-*-freebsd5.1*)
AFS_SYSNAME="i386_fbsd_51"
;;
i?86-*-freebsd5.2*)
AFS_SYSNAME="i386_fbsd_52"
;;
i?86-*-freebsd5.3*)
AFS_SYSNAME="i386_fbsd_53"
;;
i?86-*-freebsd5.4*)
AFS_SYSNAME="i386_fbsd_54"
;;
i?86-*-freebsd6.0*)
AFS_SYSNAME="i386_fbsd_60"
;; ;;
i?86-*-netbsd*1.5*) i?86-*-netbsd*1.5*)
AFS_PARAM_COMMON=param.nbsd15.h AFS_PARAM_COMMON=param.nbsd15.h