1 --- a/libmpeg2/motion_comp_altivec.c
2 +++ b/libmpeg2/motion_comp_altivec.c
7 +#ifdef __I_WANT_ALTIVEC__
12 @@ -1007,4 +1009,6 @@ static void MC_avg_xy_8_altivec (uint8_t
14 MPEG2_MC_EXTERN (altivec)
16 +#endif /* __I_WANT_ALTIVEC__ */
19 --- a/libmpeg2/idct_altivec.c
20 +++ b/libmpeg2/idct_altivec.c
25 +#ifdef __I_WANT_ALTIVEC__
30 @@ -283,4 +285,6 @@ void mpeg2_idct_altivec_init (void)
34 +#endif /* __I_WANT_ALTIVEC__ */
39 @@ -251,11 +251,13 @@ void mpeg2_idct_init (uint32_t accel)
43 +#ifdef __I_WANT_ALTIVEC__
44 if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
45 mpeg2_idct_copy = mpeg2_idct_copy_altivec;
46 mpeg2_idct_add = mpeg2_idct_add_altivec;
47 mpeg2_idct_altivec_init ();
49 +#endif /* __I_WANT_ALTIVEC__ */
52 if (accel & MPEG2_ACCEL_ALPHA_MVI) {
53 --- a/libmpeg2/motion_comp.c
54 +++ b/libmpeg2/motion_comp.c
55 @@ -43,9 +43,11 @@ void mpeg2_mc_init (uint32_t accel)
59 +#ifdef __I_WANT_ALTIVEC__
60 if (accel & MPEG2_ACCEL_PPC_ALTIVEC)
61 mpeg2_mc = mpeg2_mc_altivec;
63 +#endif /* __I_WANT_ALTIVEC__ */
66 if (accel & MPEG2_ACCEL_ALPHA)