Mercurial > mplayer.hg
comparison configure @ 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 | 86835828d5b5 |
children | 6dd42a044681 |
comparison
equal
deleted
inserted
replaced
8344:85165f5c2f7b | 8345:6ba26d05c7a9 |
---|---|
3277 test -f "./libmpdvdkit2/Makefile" && _dvdkit=yes | 3277 test -f "./libmpdvdkit2/Makefile" && _dvdkit=yes |
3278 test -f "./libmpdvdkit/Makefile" && _dvdkit=yes | 3278 test -f "./libmpdvdkit/Makefile" && _dvdkit=yes |
3279 fi | 3279 fi |
3280 fi | 3280 fi |
3281 if test "$_dvdkit" = yes ; then | 3281 if test "$_dvdkit" = yes ; then |
3282 if test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || cygwin; then | 3282 if test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || darwin || cygwin ; then |
3283 if test -f "./libmpdvdkit2/Makefile" ; then | 3283 if test -f "./libmpdvdkit2/Makefile" ; then |
3284 _inputmodules="mpdvdkit2 $_inputmodules" | 3284 _inputmodules="mpdvdkit2 $_inputmodules" |
3285 _dvdread=libmpdvdkit2 | 3285 _dvdread=libmpdvdkit2 |
3286 _dvdkit2=yes | 3286 _dvdkit2=yes |
3287 _dvdkit=no | 3287 _dvdkit=no |
3293 _noinputmodules="mpdvdkit $_noinputmodules" | 3293 _noinputmodules="mpdvdkit $_noinputmodules" |
3294 fi | 3294 fi |
3295 _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT' | 3295 _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT' |
3296 _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT' | 3296 _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT' |
3297 _dev_dvd_openbsd='#undef HAVE_OPENBSD_DVD_STRUCT' | 3297 _dev_dvd_openbsd='#undef HAVE_OPENBSD_DVD_STRUCT' |
3298 _def_dvd_darwin='#undef DARWIN_DVD_IOCTL' | |
3298 if linux || netbsd || openbsd || bsdos ; then | 3299 if linux || netbsd || openbsd || bsdos ; then |
3299 _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1' | 3300 _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1' |
3300 if openbsd ; then | 3301 if openbsd ; then |
3301 _dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1' | 3302 _dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1' |
3302 fi | 3303 fi |
3303 else | 3304 else |
3304 if freebsd ; then | 3305 if freebsd ; then |
3305 _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1' | 3306 _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1' |
3307 else | |
3308 if darwin ; then | |
3309 _def_dvd_darwin='#define DARWIN_DVD_IOCTL' | |
3310 fi | |
3306 fi | 3311 fi |
3307 fi | 3312 fi |
3308 else | 3313 else |
3309 _noinputmodules="mpdvdkit $_noinputmodules" | 3314 _noinputmodules="mpdvdkit $_noinputmodules" |
3310 fi | 3315 fi |
4728 $_def_dvdio | 4733 $_def_dvdio |
4729 $_def_bsdi_dvd | 4734 $_def_bsdi_dvd |
4730 $_def_dvd_bsd | 4735 $_def_dvd_bsd |
4731 $_def_dvd_linux | 4736 $_def_dvd_linux |
4732 $_dev_dvd_openbsd | 4737 $_dev_dvd_openbsd |
4738 $_def_dvd_darwin | |
4733 $_def_sol_scsi_h | 4739 $_def_sol_scsi_h |
4734 $_def_hpux_scsi_h | 4740 $_def_hpux_scsi_h |
4735 $_def_stddef | 4741 $_def_stddef |
4736 | 4742 |
4737 /* Common data directory (for fonts, etc) */ | 4743 /* Common data directory (for fonts, etc) */ |