[FFmpeg-cvslog] r12454 - trunk/configure
Diego Biurrun
diego
Sat Mar 15 20:33:34 CET 2008
On Sat, Mar 15, 2008 at 08:24:08PM +0100, mru wrote:
>
> Log:
> fix DEPEND_CMD for out of tree builds
Thanks a bundle. I knew this was broken but did not get around to
fixing it yet...
> --- trunk/configure (original)
> +++ trunk/configure Sat Mar 15 20:24:08 2008
> @@ -935,7 +935,7 @@ SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMA
>
> # gcc stupidly only outputs the basename of targets with -MM
> -DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \([a-z0-9]*/\).*,\1&,"'
> +DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \($(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\2&,"'
Hmm, why \2? \1 is unused, so
sed "s,[0-9a-z._-]*: $(SRC_DIR)/)*\([a-z0-9]*/\)[^/]* ,\1&,"
should work as well, should it not?
> VHOOKDEPEND_CMD='$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed "s,^\([a-z]\),vhook/\1,"'
Do vhookdeps work out of tree?
Diego
More information about the ffmpeg-cvslog
mailing list