[FFmpeg-cvslog] configure: fix bug to ensure that HAVE_VSX is only enabled when HAVE_ALTIVEC is enabled and in LE environment

Rong Yan git at videolan.org
Mon Oct 20 20:14:22 CEST 2014


ffmpeg | branch: master | Rong Yan <rongyan236 at gmail.com> | Mon Oct 13 06:40:30 2014 +0000| [a001db2e2c2799a0583b61bedefbe4d7234f7286] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a001db2e2c2799a0583b61bedefbe4d7234f7286
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 790a5eb..3e181aa 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



More information about the ffmpeg-cvslog mailing list