From cdb51cf26196ffc2f7a2c2090c73f7b0892ab119 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Mon, 15 Aug 2005 21:36:53 +0000 Subject: [PATCH] automate-freebsd-systype-20050815 Determine freebsd systype automatically too. Thanks to "Todd T. Fries" --- acinclude.m4 | 40 +++++----------------------------------- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 3bcfe69eec..c2aa36b242 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -239,41 +239,11 @@ else vm=${v#*.} AFS_SYSNAME="i386_obsd${vM}${vm}" ;; - i?86-*-freebsd4.2*) - AFS_SYSNAME="i386_fbsd_42" - ;; - i?86-*-freebsd4.3*) - AFS_SYSNAME="i386_fbsd_43" - ;; - 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-*-freebsd?.*) + v=${host#*freebsd} + vM=${v%.*} + vm=${v#*.} + AFS_SYSNAME="i386_fbsd_${vM}${vm}" ;; i?86-*-netbsd*1.5*) AFS_PARAM_COMMON=param.nbsd15.h