aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-16 15:51:47 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-16 15:51:47 +0000
commitabe39c0f31317f888d7e3cda98f4506201725b60 (patch)
treeba197d299027ec5a0a1744c9a959a1357d145a77 /configure
parent08c4e395d23041dfb402f278e07e48e2ece59c0d (diff)
downloadffmpeg-abe39c0f31317f888d7e3cda98f4506201725b60.tar.gz
Escape \1 and \2 in sed expressions written to config.mak to avoid mangling.
Originally committed as revision 12462 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ea67fe453d..dcfdbaa638 100755
--- a/configure
+++ b/configure
@@ -935,8 +935,8 @@ SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
# gcc stupidly only outputs the basename of targets with -MM
-DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \($(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\2&,"'
-VHOOK_DEPEND_CMD='$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed "s,^\([a-z]\),vhook/\1,"'
+DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \($(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\\2&,"'
+VHOOK_DEPEND_CMD='$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed "s,^\([a-z]\),vhook/\\1,"'
# find source path
source_path="`dirname \"$0\"`"