diff options
author | Niels Möller <nisse@lysator.liu.se> | 2015-03-31 22:08:39 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2015-03-31 22:08:39 +0200 |
commit | 5ba1d4e119c1a9bce214219e60cd33bb79900b4c (patch) | |
tree | aa3ca08b2af48914337e8def5c3be91071de20c5 /configure.ac | |
parent | 9c95a3d32c006d1351bacf27d544ac1979b4ecb3 (diff) | |
download | nettle-5ba1d4e119c1a9bce214219e60cd33bb79900b4c.tar.gz |
Exclude asm files which fail when building on w64 using mini-gmp.nettle_3.1rc3
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 30071f9f..5a16151d 100644 --- a/configure.ac +++ b/configure.ac @@ -464,6 +464,13 @@ EOF tmp_b=`echo "$tmp_h" | sed 's/\.[[^.]]*$//'` for asm_dir in $asm_path ; do if test -f "$srcdir/$asm_dir/$tmp_h"; then + 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 + AC_MSG_WARN([skipping $tmp_h, because GMP_NUMB_BITS != $tmp_bits]) + continue + fi asm_file_list="$asm_file_list $tmp_h" AC_CONFIG_LINKS($tmp_h:$asm_dir/$tmp_h) while read tmp_func ; do |