summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 200b604143..81a572d30d 100755
--- a/configure
+++ b/configure
@@ -3279,7 +3279,7 @@ if test "$_dvdkit" = auto ; then
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 @@ if test "$_dvdkit" = yes ; then
_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 @@ if test "$_dvdkit" = yes ; then
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_bsdi_dvd
$_def_dvd_bsd
$_def_dvd_linux
$_dev_dvd_openbsd
+$_def_dvd_darwin
$_def_sol_scsi_h
$_def_hpux_scsi_h
$_def_stddef