[MPlayer-cvslog] r33939 - trunk/configure

reimar subversion at mplayerhq.hu
Sat Jul 30 12:29:14 CEST 2011


Author: reimar
Date: Sat Jul 30 12:29:14 2011
New Revision: 33939

Log:
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).

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jul 30 05:20:27 2011	(r33938)
+++ trunk/configure	Sat Jul 30 12:29:14 2011	(r33939)
@@ -5853,15 +5853,9 @@ echores "$_libdvdcss_internal"
 
 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


More information about the MPlayer-cvslog mailing list