summaryrefslogtreecommitdiff
path: root/lang/erlang/files/patch-erts_configure
blob: 6d776f45c1e082a658dd9b62b9cad1db80f2a7fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- erts/configure.orig	Tue May 16 19:39:04 2006
+++ erts/configure	Thu May 18 15:40:47 2006
@@ -1319,6 +1319,7 @@
 i586)	ARCH=x86;;
 i686)	ARCH=x86;;
 x86_64) ARCH=amd64;;
+amd64)	ARCH=amd64;;
 ppc)	ARCH=ppc;;
 ppc64)	ARCH=ppc64;;
 "Power Macintosh")	ARCH=ppc;;
@@ -6799,7 +6800,9 @@
 
 echo $ac_n "checking for unreliable floating point execptions""... $ac_c" 1>&6
 echo "configure:6802: 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