Commit 02a40238 authored by mru's avatar mru

configure: improve detection of out-of-tree builds

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19456 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5174b832
......@@ -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