[FFmpeg-cvslog] r12462 - trunk/configure

diego subversion
Sun Mar 16 16:51:47 CET 2008


Author: diego
Date: Sun Mar 16 16:51:47 2008
New Revision: 12462

Log:
Escape \1 and \2 in sed expressions written to config.mak to avoid mangling.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Mar 16 16:51:47 2008
@@ -935,8 +935,8 @@ SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMA
 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\"`"




More information about the ffmpeg-cvslog mailing list