summaryrefslogtreecommitdiff
path: root/packages/mono/mono-1.2.5pre5/configure.patch
blob: 1553115c0ee2ccc21c14dcb1a160cf85f3092598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Index: mono-1.2.5/configure.in
===================================================================
--- mono-1.2.5.orig/configure.in
+++ mono-1.2.5/configure.in
@@ -1134,6 +1134,8 @@ if test x$platform_win32 = xno; then
 		], [
 				AC_MSG_RESULT(no)
 				with_tls=pthread
+		], [
+				AC_MSG_RESULT(yes)
 		])
 	fi
 
@@ -1236,6 +1238,9 @@ if test x$platform_win32 = xno; then
 		], [
 				with_sigaltstack=no
 				AC_MSG_RESULT(no)
+		], [
+				AC_MSG_RESULT(yes)
+				AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
 		])
 	fi
 
@@ -1893,24 +1898,26 @@ if test "x$with_tls" = "x__thread"; then
 	])
 fi
 
-if test ${TARGET} = ARM; then
-	dnl ******************************************
-	dnl *** Check to see what FPU is available ***
-	dnl ******************************************
-	AC_MSG_CHECKING(which FPU to use)
-
-	AC_TRY_COMPILE([], [
-		__asm__ ("ldfd f0, [r0]");
-		], fpu=FPA, [
-			AC_TRY_COMPILE([], [
-				__asm__ ("fldd d0, [r0]");
-			], fpu=VFP, fpu=NONE)
-		])
+#if test ${TARGET} = ARM; then
+#	dnl ******************************************
+#	dnl *** Check to see what FPU is available ***
+#	dnl ******************************************
+#	AC_MSG_CHECKING(which FPU to use)
+#
+#	AC_TRY_COMPILE([], [
+#		__asm__ ("ldfd f0, [r0]");
+#		], fpu=FPA, [
+#			AC_TRY_COMPILE([], [
+#				__asm__ ("fldd d0, [r0]");
+#			], fpu=VFP, fpu=NONE)
+#		])
+#
+#	AC_MSG_RESULT($fpu)
+#	CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
+#	unset fpu
+#fi
 
-	AC_MSG_RESULT($fpu)
-	CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
-	unset fpu
-fi
+	CPPFLAGS="$CPPFLAGS -DARM_FPU_NONE=1"
 
 if test ${TARGET} = unknown; then
 	CPPFLAGS="$CPPFLAGS -DNO_PORT"