[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    libgcrypt's ./configure should report Android as Android (patch)
From:       Hans-Christoph Steiner <hans () guardianproject ! info>
Date:       2013-12-23 2:24:16
Message-ID: 52B79ED0.8050301 () guardianproject ! info
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Attached is a simple patch to make libgcrypt's ./configure report Android as
Android, and not as GNU/Linux:



.hc


-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81

["0001-make-.-configure-report-Android-as-Android-and-not-G.patch" (text/x-patch)]

From b3b713578ea6fed328261358d0c200f3962b9be3 Mon Sep 17 00:00:00 2001
From: Hans-Christoph Steiner <hans@eds.org>
Date: Sun, 22 Dec 2013 21:22:48 -0500
Subject: [PATCH 1/1] make ./configure report Android as Android and not
 GNU/Linux

Android is Linux but not at all GNU (except for the compiler).  Android is
definitely not UNIX.  It should not be reported as GNU/Linux though it
shares the same kernel.

Signed-off-by: Hans-Christoph Steiner <hans@eds.org>
---
 configure.ac |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index ed14d89..954ff00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -300,6 +300,10 @@ case "${host}" in
         PRINTABLE_OS_NAME="MSDOS/DJGPP"
         ;;
 
+    *-linux*-android*)
+        PRINTABLE_OS_NAME="Android"
+        ;;
+
     *-linux*)
         PRINTABLE_OS_NAME="GNU/Linux"
         ;;
-- 
1.7.9.5


["signature.asc" (application/pgp-signature)]

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic