# HG changeset patch # User jkeil # Date 997799667 0 # Node ID 624c9d5dad20abaad7ba7d55e83bdb9cda869a6c # Parent 16aae598fa505a6ffeaa62965cc1514caaf1133f Use the standard mplayer config test for finding libraries, so that it can find -laa in non-standard places and for supporting systems with a shared libaa.so diff -r 16aae598fa50 -r 624c9d5dad20 configure --- a/configure Tue Aug 14 13:46:14 2001 +0000 +++ b/configure Tue Aug 14 14:34:27 2001 +0000 @@ -755,11 +755,6 @@ fi -_aa=no -if test -s "/usr/local/lib/libaa.a" || test -s "/usr/lib/libaa.a" ; then - _aa=yes -fi - # Atmosfear: added libcss autodetect _css=no if test -s "/usr/local/lib/libcss.so" ; then @@ -778,6 +773,10 @@ fi fi + +_aa=no +$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -laa > /dev/null 2>&1 && _aa=yes + _divx4linux=no $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore > /dev/null 2>&1 && _divx4linux=yes @@ -785,7 +784,7 @@ $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ltermcap > /dev/null 2>&1 && _termcap=yes _png=no -$_cc $_extraincdir $_extralibdir $_extraincdir $_extralibdir $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 && _png=yes +$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 && _png=yes _ggi=no $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lggi > /dev/null 2>&1 && _ggi=yes