From de41725c0ff3a20209ffe030cbbb5bc93c9ebef3 Mon Sep 17 00:00:00 2001 From: Charles Briere Date: Wed, 27 Nov 2013 07:48:29 -0800 Subject: [PATCH] Android: configure.ac Android check Set TARGET_IS_ANDROID to true if target is Android. Signed-off-by: Charles Briere Signed-off-by: Mathieu Desnoyers --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 8a1ff14..b25685c 100644 --- a/configure.ac +++ b/configure.ac @@ -82,6 +82,11 @@ AS_CASE([$host_cpu], [ARCHTYPE="unknown"] ) +AS_CASE([$host],[*-*-linux-androideabi], + [AM_CONDITIONAL(TARGET_IS_ANDROID, true)], + [AM_CONDITIONAL(TARGET_IS_ANDROID, false)] +) + AC_SUBST(ARCHTYPE) AC_SUBST(SUBARCHTYPE) -- 2.34.1