summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2015-04-13 11:49:17 +0200
committerNiels Möller <nisse@lysator.liu.se>2015-04-13 11:49:17 +0200
commit52e30fea0d910c7a21791b70c671274fd8279d2f (patch)
tree8a0164a814971b6a57ed4e46cb4877ea3302dc62
parentba80bf27e2b257a3eeffcb4bc16a9152b5a90e38 (diff)
downloadnettle-52e30fea0d910c7a21791b70c671274fd8279d2f.tar.gz
Fix shell quoting in test of GMP_NUMB_BITS asm compatibility. Reported by Edward Sheldrake.
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 1 deletions
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