[Mplayer-cvslog] CVS: main configure,1.138,1.139

Jürgen Keil jkeil at mplayer.dev.hu
Tue Aug 14 16:34:29 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv9600

Modified Files:
	configure 
Log Message:
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


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- configure	14 Aug 2001 12:30:56 -0000	1.138
+++ configure	14 Aug 2001 14:34:27 -0000	1.139
@@ -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




More information about the MPlayer-cvslog mailing list