[Ffmpeg-devel] [PATCH] Allow selection of output directory in configure

Michael Niedermayer michaelni
Sun Dec 3 23:18:47 CET 2006


Hi

On Sun, Dec 03, 2006 at 04:49:58PM +0000, M?ns Rullg?rd wrote:
> 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

if the problem affects other projects then just xine then this should be
added to our FAQ i think ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list