* configure.in: Tweak previous change.

This commit is contained in:
Glenn Morris 2011-06-28 20:21:14 -07:00
parent adbc4ef4b5
commit d34a9bb38f

View file

@ -1076,7 +1076,6 @@ if test "x$crt_files" != x; then
## system-dependent default from above.]
## Note that this overrides a faulty with-crt-dir.
if test $crt_gcc = yes && test ! -e $CRT_DIR/$file; then
crt_gcc=no dnl only try once
crt_file=`$CC --print-file-name=$file 2>/dev/null`
case "$crt_file" in
@ -1086,6 +1085,10 @@ if test "x$crt_files" != x; then
esac
fi
dnl We expect all the files to be in a single directory, so after the
dnl first there is no point asking gcc.
crt_gcc=no
test -e $CRT_DIR/$file || crt_missing="$crt_missing $file"
done # $crt_files