X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure.ac;h=71189e2d2abbb87838ace618033609185494da5f;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=f3c4f073ecfa0c6aa955126cd22ae16b6c5fcb99;hpb=563338edada378178f1e61247b92b100fa55c97c;p=vlc diff --git a/configure.ac b/configure.ac index f3c4f073ec..71189e2d2a 100644 --- a/configure.ac +++ b/configure.ac @@ -2133,6 +2133,29 @@ then fi fi +dnl +dnl special access module for Blackmagic SDI cards +dnl +AC_ARG_ENABLE(decklink, + [ --enable-decklink Blackmagic DeckLink SDI access module (default enabled)]) +if test "${enable_decklink}" != "no" +then + AC_ARG_WITH(decklink_sdk, + [ --with-decklink-sdk=DIR Location of Blackmagic DeckLink SDI SDK],[],[]) + if test "${with_decklink_sdk}" != "no" -a -n "${with_decklink_sdk}" + then + VLC_ADD_CPPFLAGS([decklink],[-I${with_decklink_sdk}/include]) + fi + CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_decklink}" + AC_LANG_PUSH(C++) + AC_CHECK_HEADERS(DeckLinkAPIDispatch.cpp, [ + VLC_ADD_PLUGIN([decklink]) + ],[AC_MSG_WARN(Blackmagic DeckLink SDI include files not found, decklink disabled)]) + AC_LANG_POP(C++) + CPPFLAGS="${CPPFLAGS_save}" +fi + + dnl dnl gnomeVFS access module dnl