mirror of https://git.ffmpeg.org/ffmpeg.git
configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
980a75c5a5
commit
24524f36a1
|
@ -1295,7 +1295,7 @@ DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM'
|
||||||
# find source path
|
# find source path
|
||||||
source_path="$(dirname "$0")"
|
source_path="$(dirname "$0")"
|
||||||
enable source_path_used
|
enable source_path_used
|
||||||
if test -z "$source_path" -o "$source_path" = "." ; then
|
if test -f configure; then
|
||||||
source_path="$(pwd)"
|
source_path="$(pwd)"
|
||||||
disable source_path_used
|
disable source_path_used
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue