
$FreeBSD: ports/lang/erlang/files/patch-erts_configure,v 1.8 2007/02/02 13:06:22 olgeni Exp $

--- erts/configure.orig
+++ erts/configure
@@ -7069,7 +7069,9 @@
 
 echo $ac_n "checking for unreliable floating point execptions""... $ac_c" 1>&6
 echo "configure:7072: checking for unreliable floating point execptions" >&5
-if test "$cross_compiling" = yes; then
+if test "${ARCH}" = amd64; then
+  erl_ok=reliable
+elif test "$cross_compiling" = yes; then
   erl_ok=unreliable
 else
   cat > conftest.$ac_ext <<EOF
