applied patch #1331972 + changaed deprecated option to new one in -tail-

svn-id: r19314
This commit is contained in:
Paweł Kołodziejski 2005-10-26 17:39:23 +00:00
parent 1ab6688d24
commit a9a07a5965

12
configure vendored
View File

@ -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'