mirror of https://github.com/mpv-player/mpv
Don't output error when testing for JACK. Also _insist_ on a JACK version
greater/equal `.3'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13403 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c1ccd63388
commit
3899252f82
|
@ -4277,15 +4277,15 @@ cat > $TMPC << EOF
|
||||||
int main(void) { JACK_Init(); return 0; }
|
int main(void) { JACK_Init(); return 0; }
|
||||||
EOF
|
EOF
|
||||||
# This test only checks the minor version number.
|
# This test only checks the minor version number.
|
||||||
if ( ( test ! `bio2jack-config --version | cut -d '.' -f 2` -ge 3 ) ) ; then
|
if ( ( test `bio2jack-config --version | cut -d '.' -f 2` -ge 3 ) ) >/dev/null 2>&1 ; then
|
||||||
_jack=no;
|
if test -z "$_bio2jackdir" ; then
|
||||||
elif test -z "$_bio2jackdir" ; then
|
|
||||||
cc_check -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes
|
cc_check -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes
|
||||||
else
|
else
|
||||||
cc_check -L "$_bio2jackdir" -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes
|
cc_check -L "$_bio2jackdir" -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$_jack" = yes ; then
|
if test "$_jack" = yes ; then
|
||||||
_def_jack='#define USE_JACK 1'
|
_def_jack='#define USE_JACK 1'
|
||||||
|
|
Loading…
Reference in New Issue