Fix configure using the correct compiler for Android on Mac.
commitdd363889c0a20171a2c76ffb66264a1bc44ecfee
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sun, 23 Jan 2011 22:09:44 +0000 (23 22:09 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sun, 23 Jan 2011 22:09:44 +0000 (23 22:09 +0000)
tree95bf7ef57246d7053b8e62b1c0c9a9d003166c98
parentebcca868a8dcc5b2c826bdf5ff7c5fb8d0c903da
Fix configure using the correct compiler for Android on Mac.

On Mac the folder holding the prebuilt compiler is darwin-x86, not linux-x86.
The extension of PATH to hold the compiler path below ANDROID_NDK_PATH needs to
be present when findtool searches for the compiler, so applying it to the
prefixtool call is not sufficient. OS X has a different behaviour to Linux
which keeps the set value even if it's applied to the prefixtool call only.
Might be caused by OS X coming with an older version of bash.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29125 a1c6a512-1295-4272-9138-f99709370657
tools/configure