gst-plugins-good: jack: unbreak the build for jack2 users

Stefan Kost ensonic at kemper.freedesktop.org
Thu Mar 24 14:47:16 PDT 2011


Module: gst-plugins-good
Branch: master
Commit: 51f25f371b14f9f2cb67091aa5cde0374109ee9f
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=51f25f371b14f9f2cb67091aa5cde0374109ee9f

Author: Stefan Kost <ensonic at users.sf.net>
Date:   Thu Mar 24 23:47:33 2011 +0200

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 files changed, 2 insertions(+), 1 deletions(-)

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



More information about the gstreamer-commits mailing list