From: Niels Möller Date: Mon, 13 Apr 2015 09:49:17 +0000 (+0200) Subject: Fix shell quoting in test of GMP_NUMB_BITS asm compatibility. Reported by Edward... X-Git-Tag: nettle_3.1.1_release_20150424~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52e30fea0d910c7a21791b70c671274fd8279d2f;p=thirdparty%2Fnettle.git Fix shell quoting in test of GMP_NUMB_BITS asm compatibility. Reported by Edward Sheldrake. --- diff --git a/ChangeLog b/ChangeLog index 058691eb..f6e8467e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-04-13 Niels Möller + + * configure.ac: Fix shell quoting in test of GMP_NUMB_BITS asm + compatibility. Reported by Edward Sheldrake. + 2015-03-31 Niels Möller * 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