[MPlayer-cvslog] r33074 - trunk/configure

iive subversion at mplayerhq.hu
Fri Mar 11 17:06:43 CET 2011


Author: iive
Date: Fri Mar 11 17:06:43 2011
New Revision: 33074

Log:
Merge the configure CrystalHD dummy detection with
the proper detection from the patch by 
Philip Langdale - mplayer.philipl at overt.org.

The option remains disabled by default.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Mar 11 16:50:42 2011	(r33073)
+++ trunk/configure	Fri Mar 11 17:06:43 2011	(r33074)
@@ -4411,17 +4411,23 @@ else
 fi
 echores "$_vdpau"
 
+
 echocheck "CrystalHD"
 if test "$_crystalhd" = auto ; then
-  _crystalhd=yes
+  _crystalhd=no
+  statement_check_broken libcrystalhd/bc_dts_types.h libcrystalhd/libcrystalhd_if.h 'DtsGetVersion(0, 0, 0)' -lcrystalhd $_ld_lm && _crystalhd=yes
 fi
 if test "$_crystalhd" = yes ; then
+  extra_ldflags="$extra_ldflags -lcrystalhd"
   def_crystalhd='#define CONFIG_CRYSTALHD 1'
+  codecmodules="crystalhd $codecmodules"
 else
   def_crystalhd='#define CONFIG_CRYSTALHD 0'
+  nocodecmodules="crystalhd $nocodecmodules"
   libavdecoders=$(echo $libavdecoders | sed -e s/H264_CRYSTALHD_DECODER// -e s/MPEG4_CRYSTALHD_DECODER// -e s/MPEG2_CRYSTALHD_DECODER// -e s/MSMPEG4_CRYSTALHD_DECODER// -e s/VC1_CRYSTALHD_DECODER// -e s/WMV3_CRYSTALHD_DECODER//)
 fi
-echores "$_CrystalHD"
+echores "$_crystalhd"
+
 
 echocheck "Xinerama"
 if test "$_xinerama" = auto ; then


More information about the MPlayer-cvslog mailing list