1 diff -Naur libmad-0.15.1b-orig/configure.ac libmad-0.15.1b/configure.ac
2 --- libmad-0.15.1b-orig/configure.ac 2007-06-30 20:22:31.000000000 -0600
3 +++ libmad-0.15.1b/configure.ac 2007-06-30 20:25:31.000000000 -0600
14 - i?86-*) arch="-march=i486" ;;
15 - arm*-empeg-*) arch="-march=armv4 -mtune=strongarm1100" ;;
16 - armv4*-*) arch="-march=armv4 -mtune=strongarm" ;;
18 - mips*-agenda-*) arch="-mcpu=vr4100" ;;
19 - mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
26 - optimize="$optimize -fforce-mem"
27 - optimize="$optimize -fforce-addr"
28 - : #x optimize="$optimize -finline-functions"
29 - : #- optimize="$optimize -fstrength-reduce"
30 - optimize="$optimize -fthread-jumps"
31 - optimize="$optimize -fcse-follow-jumps"
32 - optimize="$optimize -fcse-skip-blocks"
33 - : #x optimize="$optimize -frerun-cse-after-loop"
34 - : #x optimize="$optimize -frerun-loop-opt"
35 - : #x optimize="$optimize -fgcse"
36 - optimize="$optimize -fexpensive-optimizations"
37 - optimize="$optimize -fregmove"
38 - : #* optimize="$optimize -fdelayed-branch"
39 - : #x optimize="$optimize -fschedule-insns"
40 - optimize="$optimize -fschedule-insns2"
41 - : #? optimize="$optimize -ffunction-sections"
42 - : #? optimize="$optimize -fcaller-saves"
43 - : #> optimize="$optimize -funroll-loops"
44 - : #> optimize="$optimize -funroll-all-loops"
45 - : #x optimize="$optimize -fmove-all-movables"
46 - : #x optimize="$optimize -freduce-all-givs"
47 - : #? optimize="$optimize -fstrict-aliasing"
48 - : #* optimize="$optimize -fstructure-noalias"
52 - optimize="$optimize -fstrength-reduce"
55 - optimize="$optimize -fstrength-reduce"
56 - optimize="$optimize -finline-functions"
59 - optimize="$optimize -fstrength-reduce"
62 - # this triggers an internal compiler error with gcc2
63 - : #optimize="$optimize -fstrength-reduce"
65 - # this is really only beneficial with gcc3
66 - : #optimize="$optimize -finline-functions"
69 - # this sometimes provokes bugs in gcc 2.95.2
70 - : #optimize="$optimize -fstrength-reduce"
76 +#if test "$GCC" = yes
82 +# i?86-*) arch="-march=i486" ;;
83 +# arm*-empeg-*) arch="-march=armv4 -mtune=strongarm1100" ;;
84 +# armv4*-*) arch="-march=armv4 -mtune=strongarm" ;;
86 +# mips*-agenda-*) arch="-mcpu=vr4100" ;;
87 +# mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
91 +# case "$optimize" in
94 +# optimize="$optimize -fforce-mem"
95 +# optimize="$optimize -fforce-addr"
96 +# : #x optimize="$optimize -finline-functions"
97 +# : #- optimize="$optimize -fstrength-reduce"
98 +# optimize="$optimize -fthread-jumps"
99 +# optimize="$optimize -fcse-follow-jumps"
100 +# optimize="$optimize -fcse-skip-blocks"
101 +# : #x optimize="$optimize -frerun-cse-after-loop"
102 +# : #x optimize="$optimize -frerun-loop-opt"
103 +# : #x optimize="$optimize -fgcse"
104 +# optimize="$optimize -fexpensive-optimizations"
105 +# optimize="$optimize -fregmove"
106 +# : #* optimize="$optimize -fdelayed-branch"
107 +# : #x optimize="$optimize -fschedule-insns"
108 +# optimize="$optimize -fschedule-insns2"
109 +# : #? optimize="$optimize -ffunction-sections"
110 +# : #? optimize="$optimize -fcaller-saves"
111 +# : #> optimize="$optimize -funroll-loops"
112 +# : #> optimize="$optimize -funroll-all-loops"
113 +# : #x optimize="$optimize -fmove-all-movables"
114 +# : #x optimize="$optimize -freduce-all-givs"
115 +# : #? optimize="$optimize -fstrict-aliasing"
116 +# : #* optimize="$optimize -fstructure-noalias"
120 +# optimize="$optimize -fstrength-reduce"
123 +# optimize="$optimize -fstrength-reduce"
124 +# optimize="$optimize -finline-functions"
127 +# optimize="$optimize -fstrength-reduce"
130 +# # this triggers an internal compiler error with gcc2
131 +# : #optimize="$optimize -fstrength-reduce"
133 +# # this is really only beneficial with gcc3
134 +# : #optimize="$optimize -finline-functions"
137 +# # this sometimes provokes bugs in gcc 2.95.2
138 +# : #optimize="$optimize -fstrength-reduce"