From 54aa7c2c8afdbcc35c1c415f10a06012c858d167 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 26 Apr 2022 15:15:23 +0200 Subject: [PATCH] configure: check for AJA version at least 16 --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cb0511f0c..3cba779b1 100644 --- a/configure.ac +++ b/configure.ac @@ -914,7 +914,11 @@ fi if test "$aja_req" != no -a "$FOUND_LIBAJA" = yes then - aja=yes + AJA_VER=`sed -n 's/@%:@define AJA_NTV2_SDK_VERSION_MAJOR@<:@@<:@:space:@:>@@:>@*\(@<:@0-9@:>@*\).*/\1/p' <$AJA_PATH/ajalibraries/ajantv2/includes/ntv2enums.h` + echo $AJA_VER + if test $AJA_VER -ge 16; then + aja=yes + fi fi if test $aja = yes -a $system = Windows; then