diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-17 13:10:26 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-17 13:10:26 +0000 |
commit | 24524f36a1a81afd97558882c56cbee52562c63e (patch) | |
tree | 3f3f3f2707242956c0c10dc7ccd6119f5499b94f | |
parent | 980a75c5a53924a5cf565590e81fe7797e31dda6 (diff) | |
download | ffmpeg-24524f36a1a81afd97558882c56cbee52562c63e.tar.gz |
configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1295,7 +1295,7 @@ DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM' # find source path source_path="$(dirname "$0")" enable source_path_used -if test -z "$source_path" -o "$source_path" = "." ; then +if test -f configure; then source_path="$(pwd)" disable source_path_used else |