Commit 24524f36 authored by Måns Rullgård's avatar Måns Rullgård

configure: improve detection of out-of-tree builds

Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 980a75c5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment