From c4fba71daf31f13cd2f44f09b289ceaf6365f8fd Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 4 Dec 2002 21:33:36 +0000 Subject: Darwin support in libmpdvdkit2 patch by Tomas Hurka git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8346 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.2.3