From: Aurelien Jarno Date: Fri, 14 Jan 2011 19:21:22 +0000 (+0100) Subject: configure: fix broken test X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eae30c8f409ad17d7064a7f0e5c00a80f5f52d35;p=qemu.git configure: fix broken test Since commit d1807a4f836c27f6dc7061e53a834dd27f78e46a ./configure tries to test files and directories with "test -f", which only test for regular files. Test with "test -e", which looks for any kind of files. This unbreak the configure script when not using a separate object directory. Signed-off-by: Aurelien Jarno --- diff --git a/configure b/configure index c058934571..54afdda8f7 100755 --- a/configure +++ b/configure @@ -3241,7 +3241,7 @@ for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_p done mkdir -p $DIRS for f in $FILES ; do - test -f $f || symlink $source_path/$f $f + test -e $f || symlink $source_path/$f $f done # temporary config to build submodules