configure.in
changeset 11762 c4900725a75a
parent 11736 e54b6d8ffca8
child 11808 510c0e047122
     1.1 --- a/configure.in	Mon Dec 11 11:47:52 2017 -0800
     1.2 +++ b/configure.in	Mon Dec 11 12:00:12 2017 -0800
     1.3 @@ -670,6 +670,13 @@
     1.4          fi
     1.5      fi
     1.6  
     1.7 +    AC_CHECK_HEADER(immintrin.h,
     1.8 +                    have_immintrin_h_hdr=yes,
     1.9 +                    have_immintrin_h_hdr=no)
    1.10 +    if test x$have_immintrin_h_hdr = xyes; then
    1.11 +        AC_DEFINE(HAVE_IMMINTRIN_H, 1, [ ])
    1.12 +    fi
    1.13 +
    1.14      AC_ARG_ENABLE(altivec,
    1.15  AC_HELP_STRING([--enable-altivec], [use Altivec assembly routines [[default=yes]]]),
    1.16                    , enable_altivec=yes)