From e1c8bb7f6eb7b45c70268be21f02fceffbe1d797 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 31 Mar 2021 16:57:23 +0200 Subject: [PATCH] Configure: fixed lookup for DeckLink [Win, Mac] --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 73e0d52ed..a4b30ff30 100644 --- a/configure.ac +++ b/configure.ac @@ -669,7 +669,7 @@ case "$system" in OLD_LIBS=$LIBS LIBS="$LIBS -framework CoreFoundation" AC_LANG_PUSH(C++) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "DeckLink/Mac/DeckLinkAPI.h" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "$DECKLINK_INC/DeckLinkAPI.h" ]], [[IDeckLinkIterator *deckLinkIter = CreateDeckLinkIteratorInstance();]])],FOUND_DECKLINK=yes,FOUND_DECKLINK=no) LIBS=$OLD_LIBS @@ -685,8 +685,8 @@ case "$system" in AC_LANG_PUSH(C++) AC_MSG_CHECKING([DeckLink usability]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include "DeckLink/Windows/DeckLinkAPI_h.h" -#include "DeckLink/Windows/DeckLinkAPIVersion.h" +#include "$DECKLINK_INC/DeckLinkAPI_h.h" +#include "$DECKLINK_INC/DeckLinkAPIVersion.h" #include ]], [[IDeckLinkIterator *deckLinkIter; CoCreateInstance(CLSID_CDeckLinkIterator, NULL, CLSCTX_ALL, IID_IDeckLinkIterator, (void **) deckLinkIter);]])],FOUND_DECKLINK=yes,FOUND_DECKLINK=no)