1 diff -purN stella-3.0.orig/configure stella-3.0/configure
2 --- stella-3.0.orig/configure 2010-01-08 13:54:31.000000000 +0100
3 +++ stella-3.0/configure 2010-01-08 14:32:03.000000000 +0100
4 @@ -293,6 +293,10 @@ mingw32-cross)
6 _host_prefix=i386-mingw32msvc
13 guessed_host=`$_srcdir/config.guess`
14 _host_cpu=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15 @@ -447,6 +451,10 @@ if test -n "$_host"; then
16 DEFINES="$DEFINES -DWIN32"
20 + echo "Cross-compiling for ARM processors ($_host)"
24 echo "Cross-compiling to unknown target, please add your target to configure."
26 @@ -484,6 +492,11 @@ else
31 + DEFINES="$DEFINES -DUNIX"
35 # given this is a shell script assume some type of unix
37 echo "WARNING: could not establish system type, assuming unix like"
38 @@ -673,6 +686,16 @@ case $_host_os in
39 _ranlib="arm-linux-ranlib"
40 _ar="arm-linux-ar cru"
43 + CXXFLAGS="-O2 -finline-functions"
44 + DEFINES="$DEFINES -DUNIX -DBSPF_UNIX -DHAVE_GETTIMEOFDAY -DHAVE_INTTYPES"
45 + MODULES="$MODULES $SRC/unix"
46 + INCLUDES="$INCLUDES -I$SRC/unix -I$SRC/emucore $ZLIB_CFLAGS"
48 + _ranlib="arm-unknown-linux-gnu-ranlib"
49 + _ar="arm-unknown-linux-gnu-ar cru"
50 + _strip="arm-unknown-linux-gnu-strip"
53 echo "WARNING: host system not currenty supported"