Mercurial > mplayer.hg
comparison configure @ 24060:1a34d8115a84
Move setting of res_comment for internal dvdread to a more sensible place.
Now it will get set even if the dvdread check is skipped.
author | diego |
---|---|
date | Thu, 16 Aug 2007 14:12:58 +0000 |
parents | 819259b10a09 |
children | 3b3087e40101 |
comparison
equal
deleted
inserted
replaced
24059:819259b10a09 | 24060:1a34d8115a84 |
---|---|
5340 test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || \ | 5340 test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || \ |
5341 test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || \ | 5341 test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || \ |
5342 test "$_hpux_scsi_h" = yes || darwin || win32 ; then | 5342 test "$_hpux_scsi_h" = yes || darwin || win32 ; then |
5343 _dvdread_internal=yes | 5343 _dvdread_internal=yes |
5344 _dvdread=yes | 5344 _dvdread=yes |
5345 _res_comment="internal" | |
5346 fi | 5345 fi |
5347 elif test "$_dvdread" = auto ; then | 5346 elif test "$_dvdread" = auto ; then |
5348 _dvdread=no | 5347 _dvdread=no |
5349 if test "$_dl" = yes; then | 5348 if test "$_dl" = yes; then |
5350 cat > $TMPC << EOF | 5349 cat > $TMPC << EOF |
5363 if test "$_dvdread_internal" = yes; then | 5362 if test "$_dvdread_internal" = yes; then |
5364 _def_dvdread_internal="#define USE_DVDREAD_INTERNAL 1" | 5363 _def_dvdread_internal="#define USE_DVDREAD_INTERNAL 1" |
5365 _def_dvdread='#define USE_DVDREAD 1' | 5364 _def_dvdread='#define USE_DVDREAD 1' |
5366 _inputmodules="dvdread(internal) $_inputmodules" | 5365 _inputmodules="dvdread(internal) $_inputmodules" |
5367 _largefiles=yes | 5366 _largefiles=yes |
5367 _res_comment="internal" | |
5368 elif test "$_dvdread" = yes; then | 5368 elif test "$_dvdread" = yes; then |
5369 _def_dvdread='#define USE_DVDREAD 1' | 5369 _def_dvdread='#define USE_DVDREAD 1' |
5370 _largefiles=yes | 5370 _largefiles=yes |
5371 _ld_extra="$_ld_extra -ldvdread" | 5371 _ld_extra="$_ld_extra -ldvdread" |
5372 _inputmodules="dvdread(external) $_inputmodules" | 5372 _inputmodules="dvdread(external) $_inputmodules" |