[vlc-devel] [PATCH] jack: check for jack >= 0.120.1 or jack >= 1.9.7

Jean-Baptiste Kempf jb at videolan.org
Tue Apr 30 07:25:24 CEST 2013


On 29 Apr, Tristan Matthews wrote :
> These are the versions of JACK and JACK2 which introduced the
> latency API.
> Error out if JACK is not installed and "--enable-jack" was used.
> ---
>  configure.ac | 24 +++++++++++++++++++++++-
>  1 file changed, 23 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 9d3fb68..8b75078 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3569,7 +3569,29 @@ fi
>  dnl
>  dnl  JACK modules
>  dnl
> -PKG_ENABLE_MODULES_VLC([JACK], [jack access_jack], [jack], [JACK audio I/O modules],[auto])

Can't you just chain them?

PKG_ENABLE_MODULES_VLC([JACK], [jack access_jack], [jack >= 0.120.1 jack < 1.0 ], [JACK audio I/O modules],[auto])
PKG_ENABLE_MODULES_VLC([JACK], [jack access_jack], [jack >= 1.9.7], [JACK audio I/O modules],[auto])

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list