summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 17:40:32 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 17:40:32 +0000
commitf7a804c7eff87e2a3157ff28051444605829093f (patch)
tree10769f63f7195bacdabd2ee964320390f485e28b
parent589b69918cb5267308ff639cf43a91c9470915e9 (diff)
downloadppe42-gcc-f7a804c7eff87e2a3157ff28051444605829093f.tar.gz
ppe42-gcc-f7a804c7eff87e2a3157ff28051444605829093f.zip
* configure.ac: Remove default executable files before AC_PROG_CC.
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77542 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/configure11
-rw-r--r--gcc/configure.ac9
3 files changed, 24 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8872a66d6b1..b972181403e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * configure.ac: Remove default executable files before AC_PROG_CC.
+ * configure: Regenerate.
+
2004-02-09 Kazu Hirata <kazu@cs.umass.edu>
PR target/13721
diff --git a/gcc/configure b/gcc/configure
index 74cdd7cb252..9812c90cb9b 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]*)
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 304bfe9c71e..b0ee990ee6b 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
OpenPOWER on IntegriCloud