Mercurial > mplayer.hg
comparison configure @ 13402:b08f55cea9ce
Don't output error when testing for JACK. Also _insist_ on a JACK version
greater/equal `.3'.
author | al |
---|---|
date | Mon, 20 Sep 2004 08:48:53 +0000 |
parents | 2bfd09c32fba |
children | 0f92ad66bbb5 |
comparison
equal
deleted
inserted
replaced
13401:2341b61ca5be | 13402:b08f55cea9ce |
---|---|
4275 cat > $TMPC << EOF | 4275 cat > $TMPC << EOF |
4276 #include <jack/jack.h> | 4276 #include <jack/jack.h> |
4277 int main(void) { JACK_Init(); return 0; } | 4277 int main(void) { JACK_Init(); return 0; } |
4278 EOF | 4278 EOF |
4279 # This test only checks the minor version number. | 4279 # This test only checks the minor version number. |
4280 if ( ( test ! `bio2jack-config --version | cut -d '.' -f 2` -ge 3 ) ) ; then | 4280 if ( ( test `bio2jack-config --version | cut -d '.' -f 2` -ge 3 ) ) >/dev/null 2>&1 ; then |
4281 _jack=no; | 4281 if test -z "$_bio2jackdir" ; then |
4282 elif test -z "$_bio2jackdir" ; then | |
4283 cc_check -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes | 4282 cc_check -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes |
4284 else | 4283 else |
4285 cc_check -L "$_bio2jackdir" -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes | 4284 cc_check -L "$_bio2jackdir" -lbio2jack `pkg-config --libs --cflags jack` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _jack=yes |
4286 fi | 4285 fi |
4287 fi | 4286 fi |
4287 fi | |
4288 fi | 4288 fi |
4289 | 4289 |
4290 if test "$_jack" = yes ; then | 4290 if test "$_jack" = yes ; then |
4291 _def_jack='#define USE_JACK 1' | 4291 _def_jack='#define USE_JACK 1' |
4292 _aosrc="$_aosrc ao_jack.c" | 4292 _aosrc="$_aosrc ao_jack.c" |