aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2004-02-09 17:40:32 +0000
committerRainer Orth <ro@gcc.gnu.org>2004-02-09 17:40:32 +0000
commit426ca3cab011d9ac7d02cec499902f4470aacd93 (patch)
tree10769f63f7195bacdabd2ee964320390f485e28b /gcc/configure
parent500fc80fe31f7544ba9fcfa48c3ae9e39234c0e8 (diff)
downloadgcc-426ca3cab011d9ac7d02cec499902f4470aacd93.zip
gcc-426ca3cab011d9ac7d02cec499902f4470aacd93.tar.gz
gcc-426ca3cab011d9ac7d02cec499902f4470aacd93.tar.bz2
configure.ac: Remove default executable files before AC_PROG_CC.
* configure.ac: Remove default executable files before AC_PROG_CC. * configure: Regenerate. From-SVN: r77542
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 74cdd7c..9812c90 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1739,6 +1739,15 @@ fi
# Find C compiler
# ---------------
+# If a non-executable a.out is present (e.g. created by GNU as above even if
+# invoked with -v only), the IRIX 6 native ld just overwrites the existing
+# file, even when creating an executable, so an execution test fails.
+# Remove possible default executable files to avoid this.
+#
+# FIXME: This really belongs into AC_PROG_CC and can be removed once
+# Autoconf includes it.
+rm -f a.out a.exe b.out
+
# Find the native compiler
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -4997,7 +5006,7 @@ if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
else
ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
- echo "configure:5000: version of makeinfo is $ac_prog_version" >&5
+ echo "configure:5009: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*)