changeset 8345:6ba26d05c7a9

Darwin support in libmpdvdkit2 patch by Tomas Hurka <tom@hukatronic.cz>
author arpi
date Wed, 04 Dec 2002 21:33:36 +0000
parents 85165f5c2f7b
children 368019e0153a
files configure
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Dec 04 21:30:24 2002 +0000
+++ b/configure	Wed Dec 04 21:33:36 2002 +0000
@@ -3279,7 +3279,7 @@
  fi
 fi
 if test "$_dvdkit" = yes ; then
-  if test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || cygwin; then
+  if test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || darwin || cygwin ; then
    if test -f "./libmpdvdkit2/Makefile" ; then
     _inputmodules="mpdvdkit2 $_inputmodules"
     _dvdread=libmpdvdkit2
@@ -3295,6 +3295,7 @@
   _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT'
   _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT'
   _dev_dvd_openbsd='#undef HAVE_OPENBSD_DVD_STRUCT'
+  _def_dvd_darwin='#undef DARWIN_DVD_IOCTL'
   if linux || netbsd || openbsd || bsdos ; then
     _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
     if openbsd ; then
@@ -3303,6 +3304,10 @@
   else
     if freebsd ; then
      _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
+    else
+      if darwin ; then
+       _def_dvd_darwin='#define DARWIN_DVD_IOCTL'
+      fi
     fi
   fi
 else
@@ -4730,6 +4735,7 @@
 $_def_dvd_bsd
 $_def_dvd_linux
 $_dev_dvd_openbsd
+$_def_dvd_darwin
 $_def_sol_scsi_h
 $_def_hpux_scsi_h
 $_def_stddef