[MPlayer-cvslog] r28477 - trunk/configure

diego subversion at mplayerhq.hu
Sat Feb 7 16:33:10 CET 2009


Author: diego
Date: Sat Feb  7 16:33:10 2009
New Revision: 28477

Log:
Add bzlib check for FFmpeg.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Feb  7 16:29:22 2009	(r28476)
+++ trunk/configure	Sat Feb  7 16:33:10 2009	(r28477)
@@ -5986,6 +5986,21 @@ fi
 echores "$_zlib"
 
 
+echocheck "bzlib"
+bzlib=no
+def_bzlib='#define CONFIG_BZLIB 0'
+cat > $TMPC << EOF
+#include <bzlib.h>
+int main(void) { BZ2_bzlibVersion(); return 0; }
+EOF
+cc_check -lbz2 && bzlib=yes
+if test "$bzlib" = yes ; then
+  def_bzlib='#define CONFIG_BZLIB 1'
+  _ld_extra="$_ld_extra -lbz2"
+fi
+echores "$bzlib"
+
+
 echocheck "RTC"
 if test "$_rtc" = auto ; then
   cat > $TMPC << EOF



More information about the MPlayer-cvslog mailing list