summaryrefslogtreecommitdiff
path: root/m4/ax_ext.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ax_ext.m4')
-rw-r--r--m4/ax_ext.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_ext.m4 b/m4/ax_ext.m4
index f2d65b2..f3b184e 100644
--- a/m4/ax_ext.m4
+++ b/m4/ax_ext.m4
@@ -207,9 +207,9 @@ AC_DEFUN([AX_EXT],
fi
if test "$ax_cv_have_pclmuldq_ext" = yes; then
- AX_CHECK_COMPILE_FLAG(-mpclmuldq, ax_cv_support_pclmuldq_ext=yes, [])
+ AX_CHECK_COMPILE_FLAG(-mpclmul, ax_cv_support_pclmuldq_ext=yes, [])
if test x"$ax_cv_support_pclmuldq_ext" = x"yes"; then
- SIMD_FLAGS="$SIMD_FLAGS -mpclmuldq -DINTEL_SSE4_PCLMUL"
+ SIMD_FLAGS="$SIMD_FLAGS -mpclmul -DINTEL_PCLMUL"
AC_DEFINE(HAVE_PCLMULDQ,,[Support (PCLMULDQ) Carry-Free Muliplication])
else
AC_MSG_WARN([Your processor supports pclmuldq instructions but not your compiler, can you try another compiler?])