diff options
author | pbrook | 2008-02-03 20:20:13 +0100 |
---|---|---|
committer | pbrook | 2008-02-03 20:20:13 +0100 |
commit | 724db11840576deb3504aad7cfca06bf1e997799 (patch) | |
tree | 580e98c7c23eda1c16eddc25ceaf71cf1f9100ba /configure | |
parent | Fix opparam_buf size estimate. (diff) | |
download | qemu-724db11840576deb3504aad7cfca06bf1e997799.tar.gz qemu-724db11840576deb3504aad7cfca06bf1e997799.tar.xz qemu-724db11840576deb3504aad7cfca06bf1e997799.zip |
Robustify source directory check.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3960 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |