summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-13 00:33:14 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-13 00:33:14 +0000
commitb233aff173bd31644ca16e19cbdf6b8075458185 (patch)
treecbbeda43660624129dbd6a96756a057739b7c500 /configure
parent77e529d9f7499b54a9ce236fe633e29e35a12b76 (diff)
downloadmpv-b233aff173bd31644ca16e19cbdf6b8075458185.tar.bz2
mpv-b233aff173bd31644ca16e19cbdf6b8075458185.tar.xz
Update ao_jack for new bio2jack API, improve check in configure.
Patches by Andre Kuehne and Ismail Dönmez. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13013 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 4ba4b615ad..c3bffe2ac2 100755
--- a/configure
+++ b/configure
@@ -4199,7 +4199,10 @@ cat > $TMPC << EOF
#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