diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-08 14:19:20 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-08 15:04:25 +0200 |
commit | 793d4d05b580cbac56fb1537580eb2474cb8c0c5 (patch) | |
tree | c768624897f7b6d35ee0867e62d6ddbf364cb2b4 /configure.in | |
parent | Revert "Just put the Android ARM compiler options in the mk files" (diff) | |
download | core-793d4d05b580cbac56fb1537580eb2474cb8c0c5.tar.gz core-793d4d05b580cbac56fb1537580eb2474cb8c0c5.zip |
Make sure we have env vars for the cross-build tools for Android
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index a6b135aa820e..a6192a8f2da1 100644 --- a/configure.in +++ b/configure.in @@ -244,6 +244,15 @@ linux-androideabi*) test_randr=no test_unix_quickstarter=no _os=Android + + # Make sure env vars pointing to where to find the cross-build + # toolchain are set. There aren't really any sensible + # guesstimates. + for var in CC CXX AR NM OBJDUMP RANLIB STRIP; do + if test -z `eval echo '$'$var`; then + AC_MSG_ERROR([You need to set the $var environment variable in a cross-compilation for Android. See README.cross for an example.]) + fi + done ;; *) |