configure.ac: Also match -androideabi tuple

On ARM Android platforms, the host_os tuple should be linux-androideabi,
so let's match both -android and -androideabi (or any other
-android* tuple) to determine if we should do an Android build.

Reviewed-by: Chad Versace <chadversary@chromium.org>
(cherry picked from commit f6ac3d0db6)
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
This commit is contained in:
Nicolas Boichat 2017-05-05 10:26:00 +08:00 committed by Juan A. Suarez Romero
parent 1534330eba
commit 012c198bb7

View file

@ -269,7 +269,7 @@ DEFINES="-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
AC_SUBST([DEFINES]) AC_SUBST([DEFINES])
android=no android=no
case "$host_os" in case "$host_os" in
*-android) *-android*)
android=yes android=yes
;; ;;
linux*|*-gnu*|gnu*|cygwin*) linux*|*-gnu*|gnu*|cygwin*)