[Mesa-dev] [PATCH 3/4] configure.ac: remove unused Android specifics

Emil Velikov emil.l.velikov at gmail.com
Sun Jun 4 23:04:01 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

The HAVE_ANDROID conditional has been unused as of commit 51accecce77
("mesa/dri: always link against shared glapi") and with that one gone we
no longer need the host detection.

Cc: Chad Versace <chadversary at chromium.org>
Cc: Nicolas Boichat <drinkcat at chromium.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 configure.ac | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2e4264cf592..d9d299ea5bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,11 +267,7 @@ _SAVE_CPPFLAGS="$CPPFLAGS"
 dnl Compiler macros
 DEFINES="-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
 AC_SUBST([DEFINES])
-android=no
 case "$host_os" in
-*-android*)
-    android=yes
-    ;;
 linux*|*-gnu*|gnu*|cygwin*)
     DEFINES="$DEFINES -D_GNU_SOURCE"
     ;;
@@ -280,8 +276,6 @@ solaris*)
     ;;
 esac
 
-AM_CONDITIONAL(HAVE_ANDROID, test "x$android" = xyes)
-
 dnl Add flags for gcc and g++
 if test "x$GCC" = xyes; then
     CFLAGS="$CFLAGS -Wall"
-- 
2.13.0



More information about the mesa-dev mailing list