From a001db2e2c2799a0583b61bedefbe4d7234f7286 Mon Sep 17 00:00:00 2001 From: Rong Yan Date: Mon, 13 Oct 2014 06:40:30 +0000 Subject: [PATCH] configure: fix bug to ensure that HAVE_VSX is only enabled when HAVE_ALTIVEC is enabled and in LE environment Signed-off-by: Michael Niedermayer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 790a5eb8de..3e181aa4b1 100755 --- a/configure +++ b/configure @@ -4390,7 +4390,7 @@ EOF od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then - if ! enabled bigendian ;then + if ! enabled bigendian && enabled altivec ;then enable vsx fi fi