[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-cvslog
Subject:    [xine-cvs] HG: xine-lib: No DVB support on Hurd.
From:       Darren Salt <linux () youmustbejoking ! demon ! co ! uk>
Date:       2009-06-21 20:45:23
Message-ID: 920b31bb713d98c48bdd.1245616906 () hg ! debian ! org
[Download RAW message or body]

# HG changeset patch
# User Darren Salt <linux@youmustbejoking.demon.co.uk>
# Date 1245616906 -3600
# Node ID 920b31bb713d98c48bdd1f71e8055440f2968ad1
# Parent  97865266f32fd4c002fa8a3ac780c73518596bb1
No DVB support on Hurd.

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -245,11 +245,20 @@
 
 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 @@
 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 "   - 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
--- a/src/input/Makefile.am
+++ b/src/input/Makefile.am
@@ -46,6 +46,9 @@
 if WIN32
 else
 in_rtp = xineplug_inp_rtp.la
+endif
+
+if DVB
 in_dvb = xineplug_inp_dvb.la 
 endif
 

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic