From: Nikos Mavrogiannopoulos Date: Thu, 20 Nov 2014 09:36:23 +0000 (+0100) Subject: configure: detect android system and define a variable X-Git-Tag: gnutls_3_4_0~590 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6beadbdac992bb7fa891365e331700cd8c42b38;p=thirdparty%2Fgnutls.git configure: detect android system and define a variable --- diff --git a/configure.ac b/configure.ac index a591e98876..ed81dcf6c3 100644 --- a/configure.ac +++ b/configure.ac @@ -81,6 +81,9 @@ AM_CONDITIONAL(WANT_TEST_SUITE, [test -f tests/suite/mini-eagain2.c]) dnl Detect windows build use_accel=yes case "$host" in + *android*) + have_android=yes + ;; *mingw32* | *mingw64*) have_win=yes ;; @@ -100,6 +103,7 @@ case "$host" in ;; esac +AM_CONDITIONAL(ANDROID, test "$have_android" = yes) AM_CONDITIONAL(WINDOWS, test "$have_win" = yes) AM_CONDITIONAL(MACOSX, test "$have_macosx" = yes) AM_CONDITIONAL(ELF, test "$have_elf" = yes)