summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 4e4ec650c8..65016b2e15 100755
--- a/configure
+++ b/configure
@@ -207,16 +207,12 @@ fi
source_path=`dirname "$0"`
source_path_used="no"
workdir=`pwd`
-workdir=`readlink -f $workdir`
if [ -z "$source_path" ]; then
source_path=$workdir
else
source_path=`cd "$source_path"; pwd`
- source_path=`readlink -f $source_path`
- if test "$source_path" != "$workdir" ; then
- source_path_used="yes"
- fi
fi
+[ -f "$workdir/vl.c" ] || source_path_used="yes"
werror="no"
# generate compile errors on warnings for development builds