Mercurial > mplayer.hg
comparison configure @ 1021:e8cc983945fe
Arghhhh, again ...
author | lgb |
---|---|
date | Tue, 05 Jun 2001 02:36:12 +0000 |
parents | 72cacd3b8f30 |
children | a30a74ae4e18 |
comparison
equal
deleted
inserted
replaced
1020:72cacd3b8f30 | 1021:e8cc983945fe |
---|---|
471 $_cc $TMPC -o $TMPO -march=$proc -mcpu=$proc &> /dev/null || proc=error | 471 $_cc $TMPC -o $TMPO -march=$proc -mcpu=$proc &> /dev/null || proc=error |
472 fi | 472 fi |
473 if [ "$proc" = "error" ]; then | 473 if [ "$proc" = "error" ]; then |
474 echo | 474 echo |
475 echo "Your gcc does not support even \"i386\" for '-march' and '-mcpu'." >&2 | 475 echo "Your gcc does not support even \"i386\" for '-march' and '-mcpu'." >&2 |
476 rm -f $TMPC $TMPO | 476 rm -f $TMPC $TMPO $TMPS |
477 exit | 477 exit |
478 fi | 478 fi |
479 #echo "DONE (${proc})." | 479 #echo "DONE (${proc})." |
480 | 480 |
481 | 481 |
482 $_cc $TMPC -o $TMPO -lvgagl -lvga &> /dev/null && _svga=yes | 482 $_cc $TMPC -o $TMPO -lvgagl -lvga &> /dev/null && _svga=yes |
483 | 483 |
484 $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \ | 484 $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \ |
485 { echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; } | 485 { echo "Lib pthread not found."; rm -f $TMPC $TMPO $TMPS ; exit 1; } |
486 | 486 |
487 # Atmosfear: added SDL versioncheck and autodetect; removed warnings. | 487 # Atmosfear: added SDL versioncheck and autodetect; removed warnings. |
488 _sdl=no | 488 _sdl=no |
489 if $_cc $TMPC -o $TMPO `$_sdlconfig --libs` &> /dev/null ; then | 489 if $_cc $TMPC -o $TMPO `$_sdlconfig --libs` &> /dev/null ; then |
490 if test `$_sdlconfig --version | sed s/[^0-9]//g` -gt 116 ; then | 490 if test `$_sdlconfig --version | sed s/[^0-9]//g` -gt 116 ; then |
859 if test "$as_verc_fail" != "yes"; then | 859 if test "$as_verc_fail" != "yes"; then |
860 echo "ok" | 860 echo "ok" |
861 else | 861 else |
862 echo "failed" | 862 echo "failed" |
863 echo "Please upgrade binutils..." # to which version? - Atmos | 863 echo "Please upgrade binutils..." # to which version? - Atmos |
864 rm -f $TMPS $TMPO $TMPC | |
864 exit | 865 exit |
865 fi | 866 fi |
866 | 867 |
867 | 868 |
868 if [ $_x11 = 'yes' ]; then | 869 if [ $_x11 = 'yes' ]; then |
1443 echo "directory or download ftp://thot.banki.hu/esp-team/linux/MPlayer/w32codec.zip" | 1444 echo "directory or download ftp://thot.banki.hu/esp-team/linux/MPlayer/w32codec.zip" |
1444 else | 1445 else |
1445 echo "Ok, Win32 codecs directory at $_win32libdir already exists." | 1446 echo "Ok, Win32 codecs directory at $_win32libdir already exists." |
1446 fi | 1447 fi |
1447 | 1448 |
1449 # Last move: | |
1450 | |
1451 rm -f $TMPO $TMPC $TMPS |