summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-20 08:48:53 +0000
committeral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-20 08:48:53 +0000
commit3899252f82a762614d505915849cb179492c9579 (patch)
treef1a08d259a30915eef76c5e74b3884cf4b9c7f77 /configure
parentc1ccd63388de7b66f8e037e2728b3eeafbed7314 (diff)
downloadmpv-3899252f82a762614d505915849cb179492c9579.tar.bz2
mpv-3899252f82a762614d505915849cb179492c9579.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 6b48d3f615..cead991775 100755
--- a/configure
+++ b/configure
@@ -4277,15 +4277,15 @@ cat > $TMPC << EOF
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'