diff options
author | Matthieu Castet <castet.matthieu@free.fr> | 2009-03-15 21:32:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-15 21:32:36 +0000 |
commit | 337cee680bf1db3ac75a1ae1c55c51f21e7d27d0 (patch) | |
tree | fee32ee4774021304810bfe241f64fe3346160da /configure | |
parent | 7a160bca8334d55a51e7256be8b6ae61302374b9 (diff) | |
download | ffmpeg-337cee680bf1db3ac75a1ae1c55c51f21e7d27d0.tar.gz |
Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr
Originally committed as revision 17994 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1212,6 +1212,8 @@ else source_path="$(cd "$source_path"; pwd)" echo "$source_path" | grep -q '[[:blank:]]' && die "Out of tree builds are impossible with whitespace in source path." + test -e "$source_path/config.h" && + die "Out of tree builds are impossible with config.h in source dir." fi FFMPEG_CONFIGURATION="$@" |