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
This commit is contained in:
arpi 2002-12-04 21:33:36 +00:00
parent a0ced69860
commit c4fba71daf
1 changed files with 7 additions and 1 deletions

8
configure vendored
View File

@ -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