aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjia Zhang <[email protected]>2022-03-29 16:26:00 +0800
committerJussi Kivilinna <[email protected]>2022-03-29 18:49:42 +0300
commit4dc707e336a91ca9ca5a59787b9245a1ca3042c6 (patch)
tree52817e311280a55218aa655119044ad9b1b09dd1
parent564739a58426d89db2f0c9334659949e503d2c59 (diff)
downloadlibgcrypt-4dc707e336a91ca9ca5a59787b9245a1ca3042c6.tar.gz
libgcrypt-4dc707e336a91ca9ca5a59787b9245a1ca3042c6.tar.bz2
libgcrypt-4dc707e336a91ca9ca5a59787b9245a1ca3042c6.zip
Fix configure.ac error of intel-avx512
* configure.ac: Correctly set value for avx512support. -- Signed-off-by: Tianjia Zhang <[email protected]>
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b41322e3..46715139 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1303,6 +1303,7 @@ if test "$mpi_cpu_arch" != "x86" ; then
sse41support="n/a"
avxsupport="n/a"
avx2support="n/a"
+ avx512support="n/a"
padlocksupport="n/a"
drngsupport="n/a"
fi
@@ -2404,6 +2405,11 @@ if test x"$avx2support" = xyes ; then
avx2support="no (unsupported by compiler)"
fi
fi
+if test x"$avx512support" = xyes ; then
+ if test "$gcry_cv_gcc_inline_asm_avx512" != "yes" ; then
+ avx512support="no (unsupported by compiler)"
+ fi
+fi
if test x"$neonsupport" = xyes ; then
if test "$gcry_cv_gcc_inline_asm_neon" != "yes" ; then
if test "$gcry_cv_gcc_inline_asm_aarch64_neon" != "yes" ; then