summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-06-21 21:41:46 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-06-21 21:41:46 +0100
commitc5c9c8df31e9703a0b2991eca7cc16cafbaee180 (patch)
tree3d0e7c78e28a8f650738639f22289a7894273471
parent9c52993b10c3c9318d3a37e0ba2a3b83e03d4ef0 (diff)
downloadxine-lib-c5c9c8df31e9703a0b2991eca7cc16cafbaee180.tar.gz
xine-lib-c5c9c8df31e9703a0b2991eca7cc16cafbaee180.tar.bz2
No DVB support on Hurd.
-rw-r--r--configure.ac17
-rw-r--r--src/input/Makefile.am3
2 files changed, 18 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e100f2654..1af4dba69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -245,11 +245,20 @@ AC_CHECK_DECL(sysi86,[
AC_GETOPT_LONG
+
dnl ---------------------------------------------
-dnl Windows ports checks
+dnl Windows & Hurd ports checks
dnl ---------------------------------------------
+have_supported_dvb=yes
+SYS=other
+
case "$host" in
+ *-gnu*.*)
+ have_supported_dvb=no
+ SYS=hurd
+ ;;
*-*-mingw* | *-*-cygwin*)
+ have_supported_dvb=no
dnl check if we are using the cygwin, mingw or cygwin with mno-cygwin mode
dnl in which case we are actually dealing with a mingw32 compiler
case "$host" in
@@ -277,6 +286,8 @@ esac
AC_SUBST(GOOM_LIBS)
AC_SUBST(WIN32_CPPFLAGS)
AM_CONDITIONAL(WIN32, test "x$SYS" = "xmingw32")
+AM_CONDITIONAL([HURD], [test "x$SYS" = "xhurd"])
+AM_CONDITIONAL([DVB], [test "$have_supported_DVB" = "yes"])
dnl ---------------------------------------------
@@ -2843,7 +2854,9 @@ echo " - file - net"
echo " - stdin_fifo - rtp"
echo " - http - mms"
echo " - pnm - rtsp"
-echo " - dvb"
+if test "$have_supported_dvb" = yes; then
+ echo " - dvb"
+fi
if test "x$external_dvdnav" = "xyes"; then
echo " - dvd (external libs)"
else
diff --git a/src/input/Makefile.am b/src/input/Makefile.am
index 8e9c9385d..998fc6c81 100644
--- a/src/input/Makefile.am
+++ b/src/input/Makefile.am
@@ -46,6 +46,9 @@ endif
if WIN32
else
in_rtp = xineplug_inp_rtp.la
+endif
+
+if DVB
in_dvb = xineplug_inp_dvb.la
endif