Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
169 dhylands 1
The configure script checks some of the parameters by running stuff locally.
2
When cross-compiling, this doesn't work. The following mods work on 32 bit
3
ARM processors and make configure work without having to compile stuff.
4
 
5
--- Squeak-3.6-3/platforms/unix/config/configure.ac     2008-01-10 09:40:27.000000000 -0800
6
+++ Squeak-3.6-3/platforms/unix/config/configure.ac     2008-01-10 09:41:04.000000000 -0800
7
@@ -135,10 +135,12 @@
8
 
9
 # Check size assumptions of basic data types
10
 
11
-AC_REQUIRE_SIZEOF(int,    4)
12
-AC_REQUIRE_SIZEOF(time_t, 4)
13
-AC_REQUIRE_SIZEOF(double, 8)
14
-AC_CHECK_INT64_T
15
+#AC_REQUIRE_SIZEOF(int,    4)
16
+#AC_REQUIRE_SIZEOF(time_t, 4)
17
+#AC_REQUIRE_SIZEOF(double, 8)
18
+#AC_CHECK_INT64_T
19
+SQUEAK_INT64_T="long long"
20
+AC_DEFINE_UNQUOTED(squeakInt64, long long)
21
 
22
 # libtool configuration
23
 
24
@@ -234,8 +236,9 @@
25
 CFLAGS="$CFLAGS_32 $CFLAGS"
26
 
27
 AC_C_BYTEORDER
28
-AC_C_DOUBLE_ALIGNMENT
29
-AC_C_DOUBLE_ORDER
30
+#AC_C_DOUBLE_ALIGNMENT
31
+#AC_C_DOUBLE_ORDER
32
+AC_DEFINE(DOUBLE_WORD_ORDER)
33
 
34
 case $host_os in
35
   darwin*)
36
@@ -316,7 +319,7 @@
37
 
38
 # Configure plugins
39
 
40
-disabled_plugins=""
41
+disabled_plugins="vm-display-fbdev SqueakFFIPrims"
42
 rm -f plugins.exc
43
 sinclude(acplugins.m4)
44