diff --git a/configure.ac b/configure.ac index 0d4d6dc98e..c3287036f8 100644 --- a/configure.ac +++ b/configure.ac @@ -738,7 +738,7 @@ CXXFLAGS="${save_cxxflags} ${sse3_flags}" AC_CHECK_HEADERS([intrin.h x86intrin.h pmmintrin.h xmmintrin.h emmintrin.h]) CXXFLAGS="${save_cxxflags} ${avx_flags}" CPPFLAGS="${save_cppflags} ${avx_flags}" -AC_CHECK_HEADERS([immintrin.h avxintrin.h]) +AC_CHECK_HEADERS([immintrin.h]) AC_CHECK_DECLS([_xgetbv, xgetbv, __xgetbv, cpuid, _cpuid, __cpuid], [],[],[[ @@ -748,9 +748,6 @@ AC_CHECK_DECLS([_xgetbv, xgetbv, __xgetbv, cpuid, _cpuid, __cpuid], #if HAVE_IMMINTRIN_H # include #endif -#if HAVE_AVXINTRIN_H -# include -#endif #if HAVE_X86INTRIN_H # include #endif