Browse Source

configure: Fix --enable-decklink behavior

When explicitly enabled, configure should fail when it can't find the
Decklink SDK.
pull/72/head
Marvin Scholz 8 years ago
parent
commit
8383fb08a4
  1. 6
      configure.ac

6
configure.ac

@ -1904,7 +1904,11 @@ then
AC_CHECK_HEADERS([DeckLinkAPIDispatch.cpp], [
have_decklink=yes
], [
AC_MSG_WARN([Blackmagic DeckLink SDI include files not found, decklink disabled])
AS_IF([test "${enable_decklink}" = "yes"], [
AC_MSG_ERROR([Blackmagic DeckLink SDI include files not found!])
], [
AC_MSG_WARN([Blackmagic DeckLink SDI include files not found, decklink disabled])
])
])
AC_LANG_POP([C++])
VLC_RESTORE_FLAGS

Loading…
Cancel
Save