configure.ac: Also match -androideabi tuple
authorNicolas Boichat <drinkcat@chromium.org>
Fri, 5 May 2017 02:26:00 +0000 (10:26 +0800)
committerChad Versace <chadversary@chromium.org>
Fri, 5 May 2017 22:39:38 +0000 (15:39 -0700)
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>
configure.ac

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