Commit 51f25f37 authored by Stefan Kost's avatar Stefan Kost
Browse files

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.
parent ea24767b
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment