[FFmpeg-cvslog] configure: only disable VSX for !ppc64el

Andreas Cadhalpun git at videolan.org
Sat Jun 13 20:43:41 CEST 2015


ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Sat Jun 13 13:09:21 2015 +0200| [45babb01217f4cf776c50f1bec8ced0065277c89] | committer: Andreas Cadhalpun

configure: only disable VSX for !ppc64el

This reverts commit 04f0002, which made it impossible to enable VSX with
a generic cpu.

This changes the behavior back to what it was before commit b0af404.

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

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

 configure |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 0c907ff..06a9941 100755
--- a/configure
+++ b/configure
@@ -4033,9 +4033,6 @@ elif enabled ppc; then
             disable altivec
             disable dcbzl
         ;;
-        *)
-            disable vsx
-        ;;
     esac
 
 elif enabled sparc; then
@@ -4610,6 +4607,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
 EOF
 od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
 
+if ! enabled ppc64 || enabled bigendian; then
+    disable vsx
+fi
 
 check_gas() {
     log "check_gas using '$as' as AS"



More information about the ffmpeg-cvslog mailing list