changeset 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 2341b61ca5be
children a9f75aa6d274
files configure
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Sep 20 04:26:41 2004 +0000
+++ b/configure	Mon Sep 20 08:48:53 2004 +0000
@@ -4277,15 +4277,15 @@
 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'