From b305e44056c514070851f02e68dd95a2037034b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sun, 12 Nov 2017 19:25:03 +0100
Subject: [PATCH] Update check of GMP_NUMB_BITS declaration in assembly files.

Was broken by rename of configure variable GMP_NUMB_BITS -->
NUMB_BITS.
---
 ChangeLog    | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index cad5744a..35674b42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-12  Niels Möller  <nisse@lysator.liu.se>
+
+	* configure.ac: Update check of GMP_NUMB_BITS declaration in
+	assembly files. Was broken by rename of configure variable
+	GMP_NUMB_BITS --> NUMB_BITS.
+
 2017-11-11  Niels Möller  <nisse@lysator.liu.se>
 
 	* nettle.texinfo: Document nettle_get_hashes, nettle_get_ciphers
diff --git a/configure.ac b/configure.ac
index c0dbae03..8668263c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,7 +498,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" != "${NUMB_BITS}" ; then
 	     AC_MSG_WARN([skipping $tmp_h, because GMP_NUMB_BITS != $tmp_bits])
 	     continue
 	  fi
-- 
GitLab