[FFmpeg-cvslog] r13530 - trunk/configure
diego
subversion
Thu May 29 13:57:13 CEST 2008
Author: diego
Date: Thu May 29 13:57:11 2008
New Revision: 13530
Log:
Some (Solaris) gcc versions apparently output a comment as first line
when generating dependencies. Make sure to remove this in DEPEND_CMD.
extracted in a modified form from a gstreamer patch for FFmpeg
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Thu May 29 13:57:11 2008
@@ -955,7 +955,7 @@ 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) $(CFLAGS) -MM -MG $< | sed "1s,^,$(@D)/,"'
+DEPEND_CMD='$(CC) $(CFLAGS) -MM -MG $< | sed -e "/^\#.*/d" -e "1s,^,$(@D)/,"'
# find source path
source_path="`dirname \"$0\"`"
More information about the ffmpeg-cvslog
mailing list