configure.ac: Add missing conditionals

This commit is contained in:
jsteffens 2016-08-21 22:41:56 +00:00
parent a7a9371b3a
commit 701bfdde80
1 changed files with 9 additions and 0 deletions

View File

@ -302,6 +302,15 @@ AS_CASE([$host_cpu],
[AC_DEFINE(HOST_32)]
)
AC_CHECK_DECL([__SSE2__])
AM_CONDITIONAL([SUPPORT_SSE2], [test "x$ac_cv_have_decl___SSE2__" = xyes])
AC_CHECK_DECL([__AVX2__])
AM_CONDITIONAL([SUPPORT_AVX2], [test "x$ac_cv_have_decl___AVX2__" = xyes])
AC_CHECK_DECL([__ALTIVEC__])
AM_CONDITIONAL([SUPPORT_ALTIVEC], [test "x$ac_cv_have_decl___ALTIVEC__" = xyes])
AC_SUBST(UI_DIR)
AC_SUBST(PO_DIR)