changeset 1515:624c9d5dad20

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
author jkeil
date Tue, 14 Aug 2001 14:34:27 +0000
parents 16aae598fa50
children 0053e6d0cda0
files configure
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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