libchill, libf2c, libobjc:
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
libio, libstdc++
* configure.in: Test for ${compiler_name}.exe as well.
From-SVN: r27050
diff --git a/libobjc/configure.in b/libobjc/configure.in
index 619ba32..821dcd2 100644
--- a/libobjc/configure.in
+++ b/libobjc/configure.in
@@ -36,11 +36,6 @@
dnl that install-sh and config.sub get found.
AC_CONFIG_AUX_DIR($topsrcdir)
-# We have to handle 3 cases -- native, cross and canadian cross -- and
-# the extension returned from this macro needs to be treated as a possible
-# scenario and not the only one.
-AC_EXEEXT
-
# If the language specific compiler does not exist, but the "gcc" directory
# does, we do not build anything. Note, $r is set by the top-level Makefile.
# Note that when we look for the compiler, we search both with and without
@@ -53,7 +48,7 @@
if test -n "$r"; then
if test -d "$r"/gcc; then
if test -f "$r"/gcc/$compiler_name \
- || test -f "$r"/gcc/$compiler_name$EXEEXT; then
+ || test -f "$r"/gcc/$compiler_name.exe; then
true
else
objc_cv_compiler_exists=no