Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-17 17:10:26 +0400
committerMåns Rullgård <mans@mansr.com>2009-07-17 17:10:26 +0400
commit24524f36a1a81afd97558882c56cbee52562c63e (patch)
tree3f3f3f2707242956c0c10dc7ccd6119f5499b94f /configure
parent980a75c5a53924a5cf565590e81fe7797e31dda6 (diff)
configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 138d8269d3..a0605d6167 100755
--- a/configure
+++ b/configure
@@ -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