Bug 894761 - Fail in configure when building with --enable-application=mobile/android without a proper --target. r=ted

This commit is contained in:
Mike Hommey 2013-07-18 15:25:35 +09:00
parent b3b226abc6
commit 1acf538d8c

View File

@ -4500,6 +4500,14 @@ if test -z "$gonkdir" ; then
case "$MOZ_BUILD_APP" in
mobile/android)
android_min_api_level=16
case "$target" in
*-android*|*-linuxandroid*)
:
;;
*)
AC_MSG_ERROR([You must specify --target=arm-linux-androideabi (or some other valid android target) when building with --enable-application=mobile/android. See https://wiki.mozilla.org/Mobile/Fennec/Android#Setup_Fennec_mozconfig for more information about the necessary options])
;;
esac
;;
esac