configure: Fix linsys/decklink checks for Linux

This commit is contained in:
Sebastian Dröge 2011-04-17 11:54:00 +02:00
parent 697d7df80e
commit 232e840ba5

View file

@ -710,9 +710,14 @@ AG_GST_CHECK_FEATURE(DC1394, [libdc1394], dc1394, [
dnl *** decklink *** dnl *** decklink ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DECKLINK, true) translit(dnm, m, l) AM_CONDITIONAL(USE_DECKLINK, true)
AG_GST_CHECK_FEATURE(DECKLINK, [decklink], decklink, [ AG_GST_CHECK_FEATURE(DECKLINK, [decklink], decklink, [
if test "x$host" = "xlinux" ; then case "$host" in
HAVE_DECKLINK=yes *-*linux*)
fi HAVE_DECKLINK=yes
;;
*)
HAVE_DECKLINK=no
;;
esac
DECKLINK_CXXFLAGS= DECKLINK_CXXFLAGS=
DECKLINK_LIBS= DECKLINK_LIBS=
AC_SUBST(DECKLINK_CXXFLAGS) AC_SUBST(DECKLINK_CXXFLAGS)
@ -986,9 +991,14 @@ AC_SUBST(LIBMMS_LIBS)
dnl *** linsys *** dnl *** linsys ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LINSYS, true) translit(dnm, m, l) AM_CONDITIONAL(USE_LINSYS, true)
AG_GST_CHECK_FEATURE(LINSYS, [Linear Systems SDI plugin], linsys, [ AG_GST_CHECK_FEATURE(LINSYS, [Linear Systems SDI plugin], linsys, [
if test "x$host" = "xlinux" ; then case "$host" in
HAVE_LINSYS="yes" *-*linux*)
fi HAVE_LINSYS=yes
;;
*)
HAVE_LINSYS=no
;;
esac
]) ])
dnl *** modplug *** dnl *** modplug ***