aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEugene Sandulenko2008-07-23 19:50:57 +0000
committerEugene Sandulenko2008-07-23 19:50:57 +0000
commit8fd3b0c1b3e90fe8e4d2ca468474cc26651fabcf (patch)
treeca6ceeb38edf211fe40510d8713eee764745b411 /configure
parenta5f280647b5cfab615f8ef8ce00e79af0f5a696b (diff)
downloadscummvm-rg350-8fd3b0c1b3e90fe8e4d2ca468474cc26651fabcf.tar.gz
scummvm-rg350-8fd3b0c1b3e90fe8e4d2ca468474cc26651fabcf.tar.bz2
scummvm-rg350-8fd3b0c1b3e90fe8e4d2ca468474cc26651fabcf.zip
Fix bug which was triggered by file named 'a' in current directory.
svn-id: r33252
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 18 insertions, 1 deletions
diff --git a/configure b/configure
index 8f2acc8572..037c0bf786 100755
--- a/configure
+++ b/configure
@@ -811,6 +811,10 @@ iphone)
_host_os=iphone
_host_cpu=arm
;;
+neuros)
+ _host_os=linux
+ _host_cpu=arm
+ ;;
*)
if test -z "$_host"; then
guessed_host=`$_srcdir/config.guess`
@@ -1123,6 +1127,19 @@ if test -n "$_host"; then
_backend="gp2x"
_build_hq_scalers="no"
;;
+ neuros)
+ echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
+ DEFINES="$DEFINES -DUNIX"
+ _endian=little
+ _need_memalign=yes
+ add_line_to_config_h "#define NEUROS"
+ type_1_byte='char'
+ type_2_byte='short'
+ type_4_byte='int'
+ _backend='null'
+ _build_hq_scalers="no"
+ _mt32emu="no"
+ ;;
ppc-amigaos)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
_endian=big
@@ -1629,7 +1646,7 @@ for engine in $_engines; do
fi
# Save the settings
- defname="ENABLE_`echo $engine | tr [a-z] [A-Z]`"
+ defname="ENABLE_`echo $engine | tr '[a-z]' '[A-Z]'`"
if test "$isbuilt" = "no" ; then
add_line_to_config_mk "# $defname"
else