From 701bfdde80619331180b9d56669171834b560088 Mon Sep 17 00:00:00 2001 From: jsteffens Date: Sun, 21 Aug 2016 22:41:56 +0000 Subject: [PATCH] configure.ac: Add missing conditionals --- desmume/configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/desmume/configure.ac b/desmume/configure.ac index 05959007c..ca4a8212a 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -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)