Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc/gcc Allow AS and OBJDUMP to override the detect...
details: https://anonhg.NetBSD.org/src/rev/09d3f722ee81
branches: trunk
changeset: 581010:09d3f722ee81
user: skrll <skrll%NetBSD.org@localhost>
date: Fri May 20 07:08:07 2005 +0000
description:
Allow AS and OBJDUMP to override the detected assembler and objdump.
diffstat:
gnu/dist/gcc/gcc/configure | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 5a776ba8ec16 -r 09d3f722ee81 gnu/dist/gcc/gcc/configure
--- a/gnu/dist/gcc/gcc/configure Fri May 20 06:13:23 2005 +0000
+++ b/gnu/dist/gcc/gcc/configure Fri May 20 07:08:07 2005 +0000
@@ -7119,7 +7119,9 @@
# Figure out what nm we will be using.
echo $ac_n "checking what nm to use""... $ac_c" 1>&6
echo "configure:7122: checking what nm to use" >&5
-if test -x nm$host_exeext; then
+if test -x "$NM"; then
+ gcc_cv_nm="$NM"
+elif test -x nm$host_exeext; then
gcc_cv_nm=./nm$host_exeext
elif test "x$program_prefix" != xNONE; then
gcc_cv_nm=${program_prefix}nm$host_exeext
@@ -7131,7 +7133,9 @@
# Figure out what objdump we will be using.
echo $ac_n "checking what objdump to use""... $ac_c" 1>&6
echo "configure:7134: checking what objdump to use" >&5
-if test -x objdump$host_exeext; then
+if test -x "$OBJDUMP"; then
+ gcc_cv_objdump="$OBJDUMP"
+elif test -x objdump$host_exeext; then
gcc_cv_objdump=./objdump$host_exeext
elif test "x$program_prefix" != xNONE; then
gcc_cv_objdump=${program_prefix}objdump$host_exeext
Home |
Main Index |
Thread Index |
Old Index