]> git.pld-linux.org Git - packages/mplayer.git/blame - mplayer-altivec.patch
- working --disable-altivec even if runtime detection
[packages/mplayer.git] / mplayer-altivec.patch
CommitLineData
5aa1377d
JB
1--- MPlayer-1.0pre2/configure.orig 2003-11-23 00:09:38.000000000 +0100
2+++ MPlayer-1.0pre2/configure 2003-11-23 00:20:52.337674440 +0100
3@@ -1173,6 +1173,7 @@
4 _inet6=auto
5 _gethostbyname2=auto
6 _ftp=yes
7+_disable_altivec=no
8 for ac_option do
9 case "$ac_option" in
10 # Skip 1st pass
11@@ -1483,7 +1484,7 @@
12 --enable-3dnowex) _3dnow=yes _3dnowex=yes ;;
13 --disable-3dnowex) _3dnowex=no ;;
14 --enable-altivec) _altivec=yes ;;
15- --disable-altivec) _altivec=no ;;
16+ --disable-altivec) _altivec=no; _disable_altivec=yes ;;
17 --enable-mmx) _mmx=yes ;;
18 --disable-mmx) # 3Dnow! and MMX2 require MMX
19 _3dnow=no _3dnowex=no _mmx=no _mmx2=no ;;
20@@ -1623,7 +1624,7 @@
21
22 _altivec_gcc_flags=''
23
24- if test "$_altivec" = yes -o "$_runtime_cpudetection" = yes ; then
25+ if test "$_altivec" = yes -o "$_runtime_cpudetection" = yes -a "$_disable_altivec" != "yes"; then
26 echocheck "GCC altivec support"
27
28 p=''
This page took 0.071451 seconds and 4 git commands to generate.