Remove special treatment of version.h in DEPEND_CMD
authorMåns Rullgård <mans@mansr.com>
Sat, 21 Feb 2009 18:19:29 +0000 (18:19 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 21 Feb 2009 18:19:29 +0000 (18:19 +0000)
Originally committed as revision 17484 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 4f27c24..4219cc0 100755 (executable)
--- a/configure
+++ b/configure
@@ -1196,7 +1196,7 @@ target_path='.'
 
 # gcc stupidly only outputs the basename of targets with -MM, but we need the
 # full relative path for objects in subdirectories for non-recursive Make.
-DEPEND_CMD='$(CC) $(CFLAGS) -MM -MG $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," -e "s,\\([[:space:]]\\)\\(version\\.h\\),\\1\$$(BUILD_ROOT_REL)/\\2,"'
+DEPEND_CMD='$(CC) $(CFLAGS) -MM $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
 
 # find source path
 source_path="`dirname \"$0\"`"