]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure: detect android system and define a variable
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 20 Nov 2014 09:36:23 +0000 (10:36 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 21 Nov 2014 13:24:33 +0000 (14:24 +0100)
configure.ac

index a591e988760772d5a3a5b13c4505c6bf37f029fc..ed81dcf6c3b386f6c00ad4d87e6e880efce4623a 100644 (file)
@@ -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)