aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
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.ac
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.ac')
-rw-r--r--gcc/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 304bfe9..b0ee990 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -249,6 +249,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_PROG_CC
AC_PROG_CC_C_O