aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-04-13 07:04:39 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2007-04-13 07:04:39 +0000
commitbe0fe523e72a7ea821000e2ab6b7206a5be3b6ed (patch)
tree9ce1167dc3f4f37b9f0bbb1d6420b7ddde088386 /gcc/configure.ac
parent41a14c0644d480c84a5027308e9932a85651fc56 (diff)
downloadgcc-be0fe523e72a7ea821000e2ab6b7206a5be3b6ed.zip
gcc-be0fe523e72a7ea821000e2ab6b7206a5be3b6ed.tar.gz
gcc-be0fe523e72a7ea821000e2ab6b7206a5be3b6ed.tar.bz2
Makefile.in (stamp-as, [...]): Remove.
2007-04-12 Paolo Bonzini <bonzini@gnu.org> Charles Wilson <libtool@cwilson.fastmail.fm> * Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove. (libgcc.mvars): Don't depend on them. * configure.ac (as, collect-ld, nm): Create from exec-tool.in. * exec-tool.in: New. Co-Authored-By: Charles Wilson <libtool@cwilson.fastmail.fm> From-SVN: r123775
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index f23d06a..5f91210 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1884,6 +1884,10 @@ fi])
ORIGINAL_AS_FOR_TARGET=$gcc_cv_as
AC_SUBST(ORIGINAL_AS_FOR_TARGET)
+case "$ORIGINAL_AS_FOR_TARGET" in
+ ./as | ./as$build_exeext) ;;
+ *) AC_CONFIG_FILES(as:exec-tool.in, [chmod +x as]) ;;
+esac
AC_MSG_CHECKING(what assembler to use)
if test "$gcc_cv_as" = ../gas/as-new$build_exeext; then
@@ -1935,6 +1939,10 @@ fi])
ORIGINAL_LD_FOR_TARGET=$gcc_cv_ld
AC_SUBST(ORIGINAL_LD_FOR_TARGET)
+case "$ORIGINAL_LD_FOR_TARGET" in
+ ./collect-ld | ./collect-ld$build_exeext) ;;
+ *) AC_CONFIG_FILES(collect-ld:exec-tool.in, [chmod +x collect-ld]) ;;
+esac
AC_MSG_CHECKING(what linker to use)
if test "$gcc_cv_ld" = ../ld/ld-new$build_exeext; then
@@ -1992,6 +2000,11 @@ fi
ORIGINAL_NM_FOR_TARGET=$gcc_cv_nm
AC_SUBST(ORIGINAL_NM_FOR_TARGET)
+case "$ORIGINAL_NM_FOR_TARGET" in
+ ./nm | ./nm$build_exeext) ;;
+ *) AC_CONFIG_FILES(nm:exec-tool.in, [chmod +x nm]) ;;
+esac
+
# Figure out what objdump we will be using.
AS_VAR_SET_IF(gcc_cv_objdump,, [