[FFmpeg-devel] [PATCH] Improve detection of out-of-tree builds

Martin Storsjö martin
Fri Jul 17 11:42:14 CEST 2009


Hi,

The code that detects whether a build is a normal in-tree build or an 
out-of-tree build fails if configure is called in-tree with an explicit 
path.

Of course, normally one wouldn't call configure in-tree with an explicit 
path, but that's what done by "make config" at the moment.

In practice, this can be noticed with a clean checkout like this:

./configure
make config

Which ends with:

"/path/to/ffmpeg"/configure 
Out of tree builds are impossible with config.h in source dir.


The attached patch fixes this issue.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-for-an-explicit-path-to-the-current-directory-.patch
Type: text/x-diff
Size: 579 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090717/2d2a2e9c/attachment.patch>



More information about the ffmpeg-devel mailing list