diff options
author | Andre Pang <athp@users.sourceforge.net> | 2004-10-20 05:02:55 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2004-10-20 05:02:55 +0000 |
commit | 5a18818b13d8b49b8ff1d08be99cfd268abc7acb (patch) | |
tree | 9a186ac50204ffed36c21c4a7e14e538ad1da4d9 | |
parent | 6e3206aef0f424cfa65185ef7ca8c4f4ccebfde7 (diff) | |
download | xine-lib-5a18818b13d8b49b8ff1d08be99cfd268abc7acb.tar.gz xine-lib-5a18818b13d8b49b8ff1d08be99cfd268abc7acb.tar.bz2 |
Enable dvdnav support even if CDROM ioctls are not found. This makes xine work with DVDs on Mac OS X: please test on other platforms to ensure there are no regressions.
CVS patchset: 7053
CVS date: 2004/10/20 05:02:55
-rw-r--r-- | configure.ac | 14 | ||||
-rw-r--r-- | src/input/Makefile.am | 7 |
2 files changed, 8 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac index 7b5974883..e8951b28c 100644 --- a/configure.ac +++ b/configure.ac @@ -1183,7 +1183,7 @@ dnl --------------------------------------------- AC_CHECK_HEADERS(sys/cdio.h linux/cdrom.h) AM_CHECK_CDROM_IOCTLS( [AC_DEFINE(HAVE_CDROM_IOCTLS,1,[Define this if you have CDROM ioctls])], - [AC_MSG_RESULT([*** DVD and (S)VCD support will be disabled ***])]) + [AC_MSG_RESULT([*** (S)VCD support will be disabled ***])]) AM_CONDITIONAL(HAVE_CDROM_IOCTLS, [test x"$have_cdrom_ioctls" = "xyes"]) @@ -1340,7 +1340,7 @@ main() { LIBVCDINFO_LIBS='$(top_builddir)/src/input/vcd/libvcd/libvcdinfo.la' case $host_os in - darwin6*) + darwin*) AC_CHECK_HEADERS(IOKit/IOKitLib.h CoreFoundation/CFBase.h, [have_iokit_h="yes"]) if test "x$have_iokit_h" = "xyes" ; then @@ -2271,12 +2271,12 @@ echo " - stdin_fifo - rtp" echo " - http - mms" echo " - pnm - rtsp" echo " - dvb" +if test x"$external_dvdnav" = "xyes"; then + echo " - dvd (external libs)" +else + echo " - dvd (internal libs)" +fi if test x"$have_cdrom_ioctls" = "xyes"; then - if test x"$external_dvdnav" = "xyes"; then - echo " - dvd (external libs)" - else - echo " - dvd (internal libs)" - fi if test x"$enable_vcd" = "xyes"; then if test x"$internal_vcdnav" = "xno"; then echo " - vcd (external libs)" diff --git a/src/input/Makefile.am b/src/input/Makefile.am index 1f950075d..876334d78 100644 --- a/src/input/Makefile.am +++ b/src/input/Makefile.am @@ -17,13 +17,7 @@ libdir = $(XINE_PLUGINDIR) # if HAVE_CDROM_IOCTLS -in_dvd = xineplug_inp_dvd.la -## build both vcd for now -##if ENABLE_VCD -##else in_vcd = xineplug_inp_vcdo.la -##endif -#in_cda = xineplug_inp_cda.la endif if HAVE_V4L @@ -40,6 +34,7 @@ in_smb = xineplug_inp_smb.la endif # For DVD +in_dvd = xineplug_inp_dvd.la if HAVE_DVDNAV DVD_CFLAGS = $(DVDNAV_CFLAGS) link_dvdnav = $(DVDNAV_LIBS) |