aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-17 13:10:26 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-17 13:10:26 +0000
commit24524f36a1a81afd97558882c56cbee52562c63e (patch)
tree3f3f3f2707242956c0c10dc7ccd6119f5499b94f
parent980a75c5a53924a5cf565590e81fe7797e31dda6 (diff)
downloadffmpeg-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-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