From 51f25f371b14f9f2cb67091aa5cde0374109ee9f Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 24 Mar 2011 23:47:33 +0200 Subject: [PATCH] jack: unbreak the build for jack2 users Jack2 (versions 1.X.X) does only have that API in svn. Limmit the use of the new API for jack1 versions. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4296ff4..2456149 100644 --- a/configure.ac +++ b/configure.ac @@ -767,7 +767,8 @@ AG_GST_CHECK_FEATURE(JACK, Jack, jack, [ AC_SUBST(JACK_CFLAGS) AC_SUBST(JACK_LIBS) - AG_GST_PKG_CHECK_MODULES(JACK_0_120_2, jack >= 0.120.2) + dnl upcomming jack2 (1.9.7 will have the new api as well + AG_GST_PKG_CHECK_MODULES(JACK_0_120_2, jack >= 0.120.2 jack < 1.0) if test x$HAVE_JACK_0_120_2 = xyes; then AC_DEFINE(HAVE_JACK_0_120_2, 1, [defined if jack >= 0.120.2 is available]) fi -- 2.7.4