mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
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.
This commit is contained in:
parent
ea24767b94
commit
51f25f371b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue