From 52e30fea0d910c7a21791b70c671274fd8279d2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 13 Apr 2015 11:49:17 +0200
Subject: [PATCH] Fix shell quoting in test of GMP_NUMB_BITS asm compatibility.
 Reported by Edward Sheldrake.

---
 ChangeLog    | 5 +++++
 configure.ac | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 058691eb..f6e8467e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-13  Niels Möller  <nisse@lysator.liu.se>
+
+	* configure.ac: Fix shell quoting in test of GMP_NUMB_BITS asm
+	compatibility. Reported by Edward Sheldrake.
+
 2015-03-31  Niels Möller  <nisse@diamant.hack.org>
 
 	* x86_64/ecc-224-modp.asm: Require that GMP_NUMB_BITS == 64.
diff --git a/configure.ac b/configure.ac
index 5a16151d..b9fb347e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -467,7 +467,7 @@ EOF
 	  dnl Note double square brackets, for extra m4 quoting.
 	  tmp_bits=`grep GMP_NUMB_BITS "$srcdir/$asm_dir/$tmp_h" \
             | sed 's/^.*GMP_NUMB_BITS(\([[0-9]]*\)).*$/\1/'`
-	  if test "$tmp_bits" && test "$tmp_bits" != '${GMP_NUMB_BITS}' ; then
+	  if test "$tmp_bits" && test "$tmp_bits" != "${GMP_NUMB_BITS}" ; then
 	     AC_MSG_WARN([skipping $tmp_h, because GMP_NUMB_BITS != $tmp_bits])
 	     continue
 	  fi
-- 
GitLab