summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-07 23:49:39 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-07 23:49:39 +0000
commit4022a072f0f97483c7fc66ca38fac245288ebe33 (patch)
tree8b41bfe2256745017fcef5c8548eb6ee76872a23 /configure
parent18f2d9589086bcd1b23b89f5d029ad519655be0d (diff)
downloadmpv-4022a072f0f97483c7fc66ca38fac245288ebe33.tar.bz2
mpv-4022a072f0f97483c7fc66ca38fac245288ebe33.tar.xz
Fix FFmpeg DEPEND_CMD to account for latest changes and add MPDEPEND_CMD.
MPlayer needs a slightly modified incantation due to different levels of Makefile indirection. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26348 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 5135d3b3c2..da99423e75 100755
--- a/configure
+++ b/configure
@@ -7880,8 +7880,6 @@ CONFIG_MLIB = $_mlib
CONFIG_SWSCALE=yes
CONFIG_ZLIB=$_zlib
-DEPEND_CMD=\$(CC) -MM \$(CFLAGS) \$(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \(\$(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\\2&,"
-
HAVE_PTHREADS = $_pthreads
HAVE_W32THREADS = $_w32threads
HAVE_XVMC = $_xvmc
@@ -7893,6 +7891,10 @@ HAVE_XVMC = $_xvmc
`echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
`echo $_libavbsfs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+DEPEND_CMD = \$(CC) -MM \$(CFLAGS) \$(filter-out %.h,\$$^) | sed "s,[0-9a-z._-]*: \(\$(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\\2&,"
+
+MPDEPEND_CMD = \$(CC) -MM \$(CFLAGS) \$(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \(\$(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\\2&,"
+
EOF
#############################################################################