From 215ed3328dac8d8e1ed641194076549e04f8edc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 23 Jan 2018 21:00:44 +0100
Subject: [PATCH] Recognize "x86" as cpu name.

* configure.ac (asm_path): Recognize "x86", in addition to "i?86",
for 32-bit x86 processors. Reportedly needed for x86 android builds.
---
 ChangeLog    | 5 +++++
 configure.ac | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 01aa2421..723e98e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-23  Niels Möller  <nisse@lysator.liu.se>
+
+	* configure.ac (asm_path): Recognize "x86", in addition to "i?86",
+	for 32-bit x86 processors. Reportedly needed for x86 android builds.
+
 2018-01-20  Niels Möller  <nisse@lysator.liu.se>
 
 	CFB8 support, contributed by Dmitry Eremin-Solenikov.
diff --git a/configure.ac b/configure.ac
index 8fb1cb2a..41bf0998 100644
--- a/configure.ac
+++ b/configure.ac
@@ -396,7 +396,7 @@ OPT_NETTLE_SOURCES=""
 asm_path=
 if test "x$enable_assembler" = xyes ; then
   case "$host_cpu" in
-    [i?86* | k[5-8]* | pentium* | athlon])
+    [x86 | i?86* | k[5-8]* | pentium* | athlon])
       asm_path=x86
       ;;
     [x86_64 | amd64])
-- 
GitLab