1 --- xine-ui-0.9.19/configure.ac.orig Sun Apr 13 13:57:32 2003
2 +++ xine-ui-0.9.19/configure.ac Sun Apr 13 14:00:18 2003
4 AC_TRY_CFLAGS("$sarchopt=athlon", k7cpu="athlon", k7cpu="i686")
6 dnl add x86 specific CFLAGS
7 - CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer $f_af $f_al $f_aj $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -finline-functions"
8 + CFLAGS="$CFLAGS -pipe -fomit-frame-pointer $f_af $f_al $f_aj $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -finline-functions"
9 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
11 dnl enable x86 specific parts of the code
15 AC_DEFINE(__alpha__,1,[Define this if you're running Alpha architecture])
16 - CFLAGS="$CFLAGS -O3 -mcpu=ev56 -mieee"
17 + CFLAGS="$CFLAGS -mcpu=ev56 -mieee"
18 DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mcpu=ev56 -mieee"
22 AC_DEFINE(__alpha__,1,[Define this if you're running Alpha architecture])
23 - CFLAGS="$CFLAGS -O3 -mieee"
24 + CFLAGS="$CFLAGS -mieee"
25 DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mieee"
28 ppc-*-linux-* | powerpc-*)
29 AC_DEFINE(__ppc__,1,[Define this if you're running PowerPC architecture])
30 - CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
31 + CFLAGS="$CFLAGS -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
32 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
36 AC_DEFINE(__sparc,1,[Define this if you're running Sparc architecture])
38 if test "$GCC" = yes; then
39 - CFLAGS="$CFLAGS -O3"
40 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
43 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
48 - CFLAGS="$CFLAGS -O3"
49 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
53 - CFLAGS="$CFLAGS -O2"
54 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
58 - CFLAGS="$CFLAGS -O3"
59 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
63 - CFLAGS="$CFLAGS -O3"
64 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
69 echo "Host type '$host' ($host_alias) is currently not supported by xine"
71 - echo "Assuming that -O3 makes the compiler produce useful code."
72 + echo "Assuming that $CFLAGS makes the compiler produce useful code."
74 echo "You might experience problems with this, so please report your"
75 echo "architecture and, if possible, known good optimization flags for"
77 echo "
\a(sleeping one minute so you can read this...)"
80 - CFLAGS="$CFLAGS -O3"
81 DEBUG_CFLAGS="$DEBUG_CFLAGS -O"