configure: fix bug to ensure that HAVE_VSX is only enabled when HAVE_ALTIVEC is enabl...
authorRong Yan <rongyan236@gmail.com>
Mon, 13 Oct 2014 06:40:30 +0000 (06:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Oct 2014 17:58:02 +0000 (19:58 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index 790a5eb8de41cae431014ebf3844975a6f4271a3..3e181aa4b1c5b418006038fa16639d225ac80d2b 100755 (executable)
--- 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