summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-04-17 09:54:00 (GMT)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-04-17 17:16:44 (GMT)
commit232e840ba50d325ff24c962e43b2261db18bedb1 (patch)
tree079f184a7540369ddbc55cf32e7f3c90e1d8df2b /configure.ac
parent697d7df80e9a521018549ec943e236696c9ce2ac (diff)
downloadgst-plugins-bad-232e840ba50d325ff24c962e43b2261db18bedb1.tar.gz
gst-plugins-bad-232e840ba50d325ff24c962e43b2261db18bedb1.tar.xz
configure: Fix linsys/decklink checks for Linux
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 16 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 2d04b11..8ecfbad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -710,9 +710,14 @@ AG_GST_CHECK_FEATURE(DC1394, [libdc1394], dc1394, [
dnl *** decklink ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DECKLINK, true)
AG_GST_CHECK_FEATURE(DECKLINK, [decklink], decklink, [
- if test "x$host" = "xlinux" ; then
- HAVE_DECKLINK=yes
- fi
+ case "$host" in
+ *-*linux*)
+ HAVE_DECKLINK=yes
+ ;;
+ *)
+ HAVE_DECKLINK=no
+ ;;
+ esac
DECKLINK_CXXFLAGS=
DECKLINK_LIBS=
AC_SUBST(DECKLINK_CXXFLAGS)
@@ -986,9 +991,14 @@ AC_SUBST(LIBMMS_LIBS)
dnl *** linsys ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LINSYS, true)
AG_GST_CHECK_FEATURE(LINSYS, [Linear Systems SDI plugin], linsys, [
- if test "x$host" = "xlinux" ; then
- HAVE_LINSYS="yes"
- fi
+ case "$host" in
+ *-*linux*)
+ HAVE_LINSYS=yes
+ ;;
+ *)
+ HAVE_LINSYS=no
+ ;;
+ esac
])
dnl *** modplug ***