From: Charles Briere Date: Wed, 27 Nov 2013 15:48:29 +0000 (-0800) Subject: Android: configure.ac Android check X-Git-Tag: v0.9.0~127 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=de41725c0ff3a20209ffe030cbbb5bc93c9ebef3;p=userspace-rcu.git 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 --- 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)