Mercurial > mplayer.hg
changeset 33851:ebc24527c63f
Update cdparanoia check to check for paranoia_cachemodel_size.
Without this function it seems quite useless for realtime playback,
so there seems little value in continuing to support older versions.
Also since libcdio is more portable, works better, and will be used
as a fallback (which means it probably should be made the default).
author | reimar |
---|---|
date | Sat, 30 Jul 2011 10:29:14 +0000 |
parents | 934d47636f08 |
children | 3b2c18ccfda2 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jul 30 03:20:27 2011 +0000 +++ b/configure Sat Jul 30 10:29:14 2011 +0000 @@ -5853,15 +5853,9 @@ echocheck "cdparanoia" if test "$_cdparanoia" = auto ; then - cat > $TMPC <<EOF -#include <cdda_interface.h> -#include <cdda_paranoia.h> -// This need a better test. How ? -int main(void) { void *test = cdda_verbose_set; return test == (void *)1; } -EOF _cdparanoia=no for _inc_tmp in "" "-I/usr/include/cdda" "-I/usr/local/include/cdda" ; do - cc_check $_inc_tmp -lcdda_interface -lcdda_paranoia && + statement_check_broken cdda_interface.h cdda_paranoia.h 'paranoia_cachemodel_size(NULL, 0)' $_inc_tmp -lcdda_interface -lcdda_paranoia && _cdparanoia=yes && extra_cflags="$extra_cflags $_inc_tmp" && break done fi