Commit 9b67b4b3 authored by Ulf Möller's avatar Ulf Möller
Browse files

Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD

versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.)
parent 034292ad
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -195,7 +195,6 @@ my %table=(
"NetBSD-x86",	"gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
#"FreeBSD",   "gcc:-DTERMIOS -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
"FreeBSD",      "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
"FreeBSD-elf",  "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"bsdi-gcc",     "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown)::RSA_LLONG $x86_gcc_des $x86_gcc_opts:$x86_bsdi_asm",
"bsdi-elf-gcc",     "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"nextstep",	"cc:-O -Wall:<libc.h>:(unknown)::BN_LLONG $x86_gcc_des ${x86_gcc_opts}:::",
+1 −6
Original line number Diff line number Diff line
@@ -133,10 +133,6 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
	echo "${MACHINE}-whatever-bsdi"; exit 0
	;;

    FreeBSD:3*:*:*)
	echo "${MACHINE}-whatever-freebsd3"; exit 0
	;;

    FreeBSD:*:*:*386*)
        case `sysctl -n hw.model` in
	    Pentium*)
@@ -331,8 +327,7 @@ case "$GUESSOS" in
  sun4*-sun-solaris2) OUT="solaris-sparc-$CC" ;;
  *86*-sun-solaris2) OUT="solaris-x86-$CC" ;;
  *-*-sunos4) OUT="sunos-$CC" ;;
  alpha*-*-freebsd3) OUT="FreeBSD-alpha" ;;
  *-freebsd3) OUT="FreeBSD-elf" ;;
  alpha*-*-freebsd) OUT="FreeBSD-alpha" ;;
  *-freebsd) OUT="FreeBSD" ;;
  *86*-*-netbsd) OUT="NetBSD-x86" ;;
  sun3*-*-netbsd) OUT="NetBSD-m68" ;;