summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-04 21:33:36 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-04 21:33:36 +0000
commitc4fba71daf31f13cd2f44f09b289ceaf6365f8fd (patch)
tree3963def8ebc55f9dcfd1caf6a5218d0922881a7e /configure
parenta0ced69860877cd79276d3700d18370ff20ef9ef (diff)
downloadmpv-c4fba71daf31f13cd2f44f09b289ceaf6365f8fd.tar.bz2
mpv-c4fba71daf31f13cd2f44f09b289ceaf6365f8fd.tar.xz
Darwin support in libmpdvdkit2
patch by Tomas Hurka <tom@hukatronic.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8346 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-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