# HG changeset patch # User arpi_esp # Date 991685561 0 # Node ID f736cf67a5ab0cf2fab0a8f8400cce2a7da51305 # Parent d1e70889094ea3bf3ebcb66b1ba96188f6244dd5 various changes, second filds test disabled, alsa tests fixed diff -r d1e70889094e -r f736cf67a5ab configure --- a/configure Mon Jun 04 19:45:07 2001 +0000 +++ b/configure Mon Jun 04 20:12:41 2001 +0000 @@ -180,6 +180,7 @@ fi _skip_cc_check=no +_skip_as_check=no _sdlconfig='sdl-config' for ac_option @@ -191,6 +192,9 @@ --disable-gcc-checking) _skip_cc_check=yes ;; + --disable-as-checking) + _skip_as_check=yes + ;; --with-x11libdir=*) _x11libdir=-L`echo $ac_option | cut -d '=' -f 2` ;; @@ -221,8 +225,7 @@ echo "Please downgrade(upgrade) gcc compiler to gcc-2.95.2+ or gcc-3.0+ version" exit fi -fi -if test "$_skip_cc_check" = "yes"; then +else echo "YOU'VE SELECTED '--disable-gcc-checking'. PLEASE DON'T SEND US ANY BUGREPORTS!" fi # --- @@ -519,6 +522,8 @@ _binutils=no as libac3/downmix/downmix_i386.S -o $TMPO &> /dev/null && _binutils=yes +# echo binutils: $_binutils + # ----------- Check X11 and related libs (GL, Xxf86vm, Xv, DGA) -------------- if [ $_x11 = auto ]; then @@ -578,18 +583,19 @@ int main( void ) { if(SND_LIB_MAJOR==0&&SND_LIB_MINOR==5)return 1; return 0; } EOF -_alsaver='not found' +_alsaver='notfound' $_cc -o $TMPO -lasound $TMPC &> /dev/null || _alsa=no + [ $_alsa == "yes" ] && $TMPO && { _alsaver='0.5.x'; } -if [ $_alsaver == 'not found' ]; then +if [ $_alsaver = 'notfound' ]; then cat > $TMPC << EOF #include #include int main( void ) { if(SND_LIB_MAJOR==0&&SND_LIB_MINOR==9)return 1; return 0; } EOF -_alsaver='not found' +_alsaver='notfound' $_cc -o $TMPO -lasound $TMPC &> /dev/null || _alsa=no [ $_alsa == "yes" ] && $TMPO && { _alsaver='0.9.x'; } fi @@ -766,7 +772,7 @@ _gui=no ;; --disable-alsa) - _alsaver='not found' + _alsaver='notfound' _alsa=no ;; --with-win32libdir=*) @@ -799,34 +805,41 @@ # Checking as compatibility... echo -n "Checking assembler (as) ... " -cat > astest.S < /dev/null || as_verc_fail=yes + +### this test disabled, see _binutils test above! --A'rpi +# cat > astest.S < /dev/null || as_verc_fail=yes + if [ $_mmx = 'yes' ]; then cat > astest.S < /dev/null || as_verc_fail=yes fi + if [ $_3dnow = 'yes' ]; then cat >> astest.S < /dev/null || as_verc_fail=yes fi + if [ $_3dnowex = 'yes' ]; then cat >> astest.S < /dev/null || as_verc_fail=yes fi + if [ $_mmx2 = 'yes' ]; then cat >> astest.S < /dev/null || as_verc_fail=yes fi + if [ $_sse = 'yes' ]; then cat >> astest.S < /dev/null || as_verc_fail=yes rm -f astest.S astest.o fi + if test "$as_verc_fail" != "yes"; then echo "ok" else @@ -1165,7 +1179,7 @@ _gui='#undef HAVE_GUI' fi -if [ "$_alsaver" != "not found" ]; then +if [ "$_alsaver" != "notfound" ]; then [ $_alsaver == '0.5.x' ] && { _aosrc="$_aosrc ao_alsa5.c"; $_alsa='#define HAVE_ALSA5'; } # [ $_alsaver == '0.9.x' ] && { _aosrc="$_aosrc ao_alsa9.c"; } else @@ -1345,7 +1359,7 @@ cat << EOF !!! Warning! fallback to slow downmix.c due the old binutils. -!!! Upgrade for better audio decoding performance. +!!! Upgrade it for better AC3 audio decoding performance! EOF fi