[Mplayer-cvslog] CVS: main configure,1.911,1.912

Alexander Strasser beastd syncmail at mplayerhq.hu
Mon Sep 20 10:48:55 CEST 2004


CVS change done by Alexander Strasser (beastd)

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

Modified Files:
	configure 
Log Message:
Don't output error when testing for JACK. Also _insist_ on a JACK version
greater/equal `.3'.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.911
retrieving revision 1.912
diff -u -r1.911 -r1.912
--- configure	15 Sep 2004 16:01:34 -0000	1.911
+++ configure	20 Sep 2004 08:48:53 -0000	1.912
@@ -4277,15 +4277,15 @@
 int main(void) { JACK_Init(); return 0; }
 EOF
         # This test only checks the minor version number.
-        if ( ( test ! `bio2jack-config --version | cut -d '.' -f 2` -ge 3 ) ) ; then
-	    _jack=no;
-	elif test -z "$_bio2jackdir" ; then
+    if ( ( test `bio2jack-config --version | cut -d '.' -f 2` -ge 3 ) ) >/dev/null 2>&1 ; then
+      if 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
 	fi
   fi
 fi
+fi
 
 if test "$_jack" = yes ; then
   _def_jack='#define USE_JACK 1'




More information about the MPlayer-cvslog mailing list