configure.ac: Add support for Android builds
authorNicolas Boichat <drinkcat@chromium.org>
Thu, 28 Apr 2016 10:41:38 +0000 (18:41 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 May 2016 12:23:39 +0000 (13:23 +0100)
commit27d713a004da1918d1c5699b077734eceb0ebd75
treeabd33456d5f08ddbdd50f3b2764d3042bd6ec3c1
parent960d854a9866be4e335dd20465342026f660fc78
configure.ac: Add support for Android builds

Add support for EGL android platform.

Also, detect when --host finishes with -android. In that case, we
do not set _GNU_SOURCE, and define autoconf symbol HAVE_ANDROID, so
that Android-specific workarounds can be applied.

Signed-off-by: Nicolas Boichat <drinkcat@google.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
[Emil Velikov: Rebase on top of HAVE_EGL_PLATFORM_NULL removal]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac
src/egl/Makefile.am