* configure.in: Tweak previous change.
authorGlenn Morris <rgm@gnu.org>
Wed, 29 Jun 2011 03:21:14 +0000 (20:21 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 29 Jun 2011 03:21:14 +0000 (20:21 -0700)
configure.in

index 5374dfe..956167b 100644 (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