configure: fix broken test

Since commit d1807a4f83 ./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 <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2011-01-14 20:21:22 +01:00
parent 74242e0f7f
commit eae30c8f40
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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