From ec8d0c6bf8e0d22227c4011d3ae8234cc7b39ec4 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 12 Nov 2006 18:28:12 +0000 Subject: Fix compilation with latest libavformat/avidec.c by adding ENABLE_ defines for all ffmpeg-related CONFIG_ defines, just like ffmpeg's configure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20869 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 4577e12e9a..8abfe16188 100755 --- a/configure +++ b/configure @@ -7888,10 +7888,15 @@ $_def_amr_wb /* Use specific parts from FFmpeg. */ `echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` +`echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define ENABLE_/;s/$/ 1/'` `echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` +`echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define ENABLE_/;s/$/ 1/'` `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` +`echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define ENABLE_/;s/$/ 1/'` `echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` +`echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define ENABLE_/;s/$/ 1/'` `echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` +`echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define ENABLE_/;s/$/ 1/'` $_def_lavc_faac $_def_lavc_xvid $_def_lavc_mp3lame -- cgit v1.2.3