From a669e9353d02ead6d4a1ab6125281fffaf258041 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 26 Apr 2013 22:53:07 -0700 Subject: [PATCH] Fix ssse3 detection --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 66ddc35b..0c86a891 100644 --- a/configure.ac +++ b/configure.ac @@ -152,7 +152,7 @@ AC_CHECK_HEADERS([emmintrin.h], [], [], [ ]) AC_CHECK_HEADERS([tmmintrin.h], [], [], [ -#pragma GCC target("sse3") +#pragma GCC target("ssse3") ]) AC_CHECK_HEADERS([smmintrin.h], [], [], [ @@ -163,6 +163,10 @@ AC_CHECK_HEADERS([immintrin.h], [], [], [ #pragma GCC target("avx") ]) +AC_CHECK_HEADERS([avxintrin.h], [], [], [ +#pragma GCC target("avx") +]) + AC_CHECK_HEADERS([x86intrin.h], [], [], [ #pragma GCC target("xop") ])