]>
Commit | Line | Data |
---|---|---|
155b406c PS |
1 | --- mplayer-r32669/configure.orig 2010-11-30 09:25:22.955081286 +0100 |
2 | +++ mplayer-r32669/configure 2010-11-30 09:28:43.457857573 +0100 | |
3 | @@ -790,6 +790,7 @@ | |
c03f2216 | 4 | _ass=auto |
155b406c | 5 | ass_internal=auto |
c294b55d | 6 | _rpath=no |
5aa1377d | 7 | +_disable_altivec=no |
30e3739f | 8 | _asmalign_pot=auto |
c03f2216 | 9 | _stream_cache=yes |
10 | _priority=no | |
155b406c PS |
11 | @@ -1356,7 +1357,7 @@ |
12 | --enable-fast-clz) _fast_clz=yes ;; | |
13 | --disable-fast-clz) _fast_clz=no ;; | |
5aa1377d JB |
14 | --enable-altivec) _altivec=yes ;; |
15 | - --disable-altivec) _altivec=no ;; | |
16 | + --disable-altivec) _altivec=no; _disable_altivec=yes ;; | |
30e3739f | 17 | --enable-armv5te) _armv5te=yes ;; |
18 | --disable-armv5te) _armv5te=no ;; | |
c03f2216 | 19 | --enable-armv6) _armv6=yes ;; |
155b406c | 20 | @@ -2762,12 +2763,12 @@ |
5aa1377d | 21 | |
eeb11871 | 22 | #FIXME: This should happen before the check for CFLAGS.. |
c03f2216 | 23 | def_altivec_h='#define HAVE_ALTIVEC_H 0' |
eeb11871 | 24 | -if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then |
c03f2216 | 25 | +if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) && test "$_disable_altivec" != "yes"; then |
eeb11871 ER |
26 | |
27 | # check if AltiVec is supported by the compiler, and how to enable it | |
28 | echocheck "GCC AltiVec flags" | |
155b406c | 29 | if $(cflag_check -maltivec -mabi=altivec) ; then |
c03f2216 | 30 | - _altivec_gcc_flags="-maltivec -mabi=altivec" |
c03f2216 | 31 | + _altivec_gcc_flags="-maltivec" |
32 | # check if <altivec.h> should be included | |
155b406c PS |
33 | if $(header_check altivec.h $_altivec_gcc_flags) ; then |
34 | def_altivec_h='#define HAVE_ALTIVEC_H 1' |