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 <michaelni@gmx.at>
This commit is contained in:
Rong Yan 2014-10-13 06:40:30 +00:00 committed by Michael Niedermayer
parent f31445a82d
commit a001db2e2c
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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