[Mplayer-cvslog] CVS: main configure,1.894,1.895

Diego Biurrun CVS syncmail at mplayerhq.hu
Fri Aug 13 02:33:16 CEST 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv30467

Modified Files:
	configure 
Log Message:
Update ao_jack for new bio2jack API, improve check in configure.
Patches by Andre Kuehne and Ismail Dönmez.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.894
retrieving revision 1.895
diff -u -r1.894 -r1.895
--- configure	12 Aug 2004 12:36:07 -0000	1.894
+++ configure	13 Aug 2004 00:33:13 -0000	1.895
@@ -4199,7 +4199,10 @@
 #include <jack/jack.h>
 int main(void) { JACK_Init(); return 0; }
 EOF
-	if test -z "$_bio2jackdir" ; then
+        # This test only checks the minor version number.
+        if ( ( test ! `bio2jack-config --version | cut -d '.' -f 2` -ge 2 ) ) ; then
+	    _jack=no;
+	elif test -z "$_bio2jackdir" ; then
 		cc_check -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes
 	else
 		cc_check -L "$_bio2jackdir" -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes




More information about the MPlayer-cvslog mailing list