Mercurial > mplayer.hg
comparison configure @ 28245:83266d299072
Switch internal dvdread to libdvdread SVN external.
author | reimar |
---|---|
date | Thu, 08 Jan 2009 19:28:28 +0000 |
parents | 84408378385a |
children | cd79547b7467 |
comparison
equal
deleted
inserted
replaced
28244:ea717d532205 | 28245:83266d299072 |
---|---|
5523 && (test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || \ | 5523 && (test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || \ |
5524 test "$_dvdio" = yes || test "$_bsdi_dvd" = yes) \ | 5524 test "$_dvdio" = yes || test "$_bsdi_dvd" = yes) \ |
5525 || darwin || win32; then | 5525 || darwin || win32; then |
5526 _dvdread_internal=yes | 5526 _dvdread_internal=yes |
5527 _dvdread=yes | 5527 _dvdread=yes |
5528 _inc_extra="$_inc_extra -Ilibdvdread4" | |
5528 fi | 5529 fi |
5529 elif test "$_dvdread" = auto ; then | 5530 elif test "$_dvdread" = auto ; then |
5530 _dvdread=no | 5531 _dvdread=no |
5531 if test "$_dl" = yes; then | 5532 if test "$_dl" = yes; then |
5532 cat > $TMPC << EOF | 5533 cat > $TMPC << EOF |
5548 _res_comment="external" | 5549 _res_comment="external" |
5549 fi | 5550 fi |
5550 fi | 5551 fi |
5551 | 5552 |
5552 if test "$_dvdread_internal" = yes; then | 5553 if test "$_dvdread_internal" = yes; then |
5553 _def_dvdread_internal="#define CONFIG_DVDREAD_INTERNAL 1" | |
5554 _def_dvdread='#define CONFIG_DVDREAD 1' | 5554 _def_dvdread='#define CONFIG_DVDREAD 1' |
5555 _inputmodules="dvdread(internal) $_inputmodules" | 5555 _inputmodules="dvdread(internal) $_inputmodules" |
5556 _largefiles=yes | 5556 _largefiles=yes |
5557 _res_comment="internal" | 5557 _res_comment="internal" |
5558 elif test "$_dvdread" = yes; then | 5558 elif test "$_dvdread" = yes; then |
5560 _largefiles=yes | 5560 _largefiles=yes |
5561 _ld_extra="$_ld_extra -ldvdread" | 5561 _ld_extra="$_ld_extra -ldvdread" |
5562 _inputmodules="dvdread(external) $_inputmodules" | 5562 _inputmodules="dvdread(external) $_inputmodules" |
5563 _res_comment="external" | 5563 _res_comment="external" |
5564 else | 5564 else |
5565 _def_dvdread_internal="#undef CONFIG_DVDREAD_INTERNAL" | |
5566 _def_dvdread='#undef CONFIG_DVDREAD' | 5565 _def_dvdread='#undef CONFIG_DVDREAD' |
5567 _noinputmodules="dvdread $_noinputmodules" | 5566 _noinputmodules="dvdread $_noinputmodules" |
5568 fi | 5567 fi |
5569 echores "$_dvdread" | 5568 echores "$_dvdread" |
5570 | 5569 |
8333 $_def_dvd_linux | 8332 $_def_dvd_linux |
8334 $_def_dvd_openbsd | 8333 $_def_dvd_openbsd |
8335 $_def_dvdio | 8334 $_def_dvdio |
8336 $_def_dvdnav | 8335 $_def_dvdnav |
8337 $_def_dvdread | 8336 $_def_dvdread |
8338 $_def_dvdread_internal | |
8339 $_def_hpux_scsi_h | 8337 $_def_hpux_scsi_h |
8340 $_def_libcdio | 8338 $_def_libcdio |
8341 $_def_sol_scsi_h | 8339 $_def_sol_scsi_h |
8342 $_def_vcd | 8340 $_def_vcd |
8343 | 8341 |