diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-13 00:33:14 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-13 00:33:14 +0000 |
commit | b233aff173bd31644ca16e19cbdf6b8075458185 (patch) | |
tree | cbbeda43660624129dbd6a96756a057739b7c500 /configure | |
parent | 77e529d9f7499b54a9ce236fe633e29e35a12b76 (diff) |
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-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |