[Ffmpeg-devel] [PATCH] Allow selection of output directory in configure
Sun Dec 3 17:49:58 CET 2006
Diego 'Flameeyes' Petten? <flameeyes at gentoo.org> writes:
> On Sunday 03 December 2006 17:04, Michael Niedermayer wrote:
>> solution 3: fix auto* so a "cd foobar; make" doesnt break it
> It's not this breaking it, for the make is fine.
> The problem is that:
> ffmpeg is in contrib/ffmpeg directory
> contrib's Makefile knows where the contrib's _source_ directory is and has
> @srcdir@ for that.
> it has to call ffmpeg/configure, inside the ffmpeg directory on the
> build tree cd ffmpeg; @srcdir@/ffmpeg/configure fails because
> @srcdir@ is a relative path, and having entered a new directory
> level you don't get to the right one.
ffmpegsrc=`cd @srcdir@/ffmpeg; pwd`
cd ffmpeg; $ffmpegsrc/configure
mru at inprovide.com
More information about the ffmpeg-devel