From a9a07a5965fe6a2d5ede121fe2ceca5c8fd5a4cd Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Wed, 26 Oct 2005 17:39:23 +0000 Subject: applied patch #1331972 + changaed deprecated option to new one in -tail- svn-id: r19314 --- configure | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 71d0794e2b..1f76e4e99d 100755 --- a/configure +++ b/configure @@ -544,7 +544,7 @@ fi echocheck "compiler version" -cxx_name=`( $cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1` +cxx_name=`( $cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1` cxx_version=`( $CXX -dumpversion ) 2>&1` if test "$?" -gt 0; then cxx_version="not found" @@ -690,6 +690,16 @@ if test -n "$_host"; then type_2_byte='short' type_4_byte='int' ;; + arm-linux) + echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" + DEFINES="$DEFINES -DUNIX" + #not true for all ARM systems, but the interesting ones are all LE. Most (if not all) BE arm devices don't have a screen + _def_endianness='#define SCUMM_LITTLE_ENDIAN' + _def_align='#define SCUMM_NEED_ALIGNMENT' + type_1_byte='char' + type_2_byte='short' + type_4_byte='int' + ;; ppc-amigaos) echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" _def_endianness='#define SCUMM_BIG_ENDIAN' -- cgit v1.2.3