diff options
| author | Glenn Morris | 2011-06-28 20:21:14 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-06-28 20:21:14 -0700 |
| commit | d34a9bb38f1f3337e7308c36601ddc2d25584ce1 (patch) | |
| tree | 97f93fcd2a90a6237aa24aa4dc70accb40262fdf | |
| parent | adbc4ef4b5b969044cdb37cd9a18ed32d766e860 (diff) | |
| download | emacs-d34a9bb38f1f3337e7308c36601ddc2d25584ce1.tar.gz emacs-d34a9bb38f1f3337e7308c36601ddc2d25584ce1.zip | |
* configure.in: Tweak previous change.
| -rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5374dfe47dd..956167bd4c8 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1076,7 +1076,6 @@ if test "x$crt_files" != x; then | |||
| 1076 | ## system-dependent default from above.] | 1076 | ## system-dependent default from above.] |
| 1077 | ## Note that this overrides a faulty with-crt-dir. | 1077 | ## Note that this overrides a faulty with-crt-dir. |
| 1078 | if test $crt_gcc = yes && test ! -e $CRT_DIR/$file; then | 1078 | if test $crt_gcc = yes && test ! -e $CRT_DIR/$file; then |
| 1079 | crt_gcc=no dnl only try once | ||
| 1080 | 1079 | ||
| 1081 | crt_file=`$CC --print-file-name=$file 2>/dev/null` | 1080 | crt_file=`$CC --print-file-name=$file 2>/dev/null` |
| 1082 | case "$crt_file" in | 1081 | case "$crt_file" in |
| @@ -1086,6 +1085,10 @@ if test "x$crt_files" != x; then | |||
| 1086 | esac | 1085 | esac |
| 1087 | fi | 1086 | fi |
| 1088 | 1087 | ||
| 1088 | dnl We expect all the files to be in a single directory, so after the | ||
| 1089 | dnl first there is no point asking gcc. | ||
| 1090 | crt_gcc=no | ||
| 1091 | |||
| 1089 | test -e $CRT_DIR/$file || crt_missing="$crt_missing $file" | 1092 | test -e $CRT_DIR/$file || crt_missing="$crt_missing $file" |
| 1090 | done # $crt_files | 1093 | done # $crt_files |
| 1091 | 1094 | ||