diff configure @ 33643:311468e8af65

build: Compile libav* libraries from the top level of the ffmpeg subdirectory. Compiling from subdirectories is not guaranteed to work correctly.
author diego
date Sun, 26 Jun 2011 14:16:40 +0000
parents 20cf5b01802a
children c15dabfa2380
line wrap: on
line diff
--- a/configure	Sun Jun 26 14:16:38 2011 +0000
+++ b/configure	Sun Jun 26 14:16:40 2011 +0000
@@ -8772,7 +8772,10 @@
 
 # Create a config.mak for FFmpeg that includes MPlayer's config.mak.
 cat > ffmpeg/config.mak << EOF
-include ../../config.mak
+ifndef FFMPEG_CONFIG_MAK
+FFMPEG_CONFIG_MAK = 1
+include ../config.mak
+endif # MPLAYER_CONFIG_MAK
 EOF
 
 cat > ffmpeg/config.h << EOF