Allow AS and OBJDUMP to override the detected assembler and objdump.

This commit is contained in:
skrll 2005-05-20 07:08:07 +00:00
parent 9c9b601a23
commit 313049f061
1 changed files with 6 additions and 2 deletions

View File

@ -7119,7 +7119,9 @@ fi
# 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 @@ echo "$ac_t""$gcc_cv_nm" 1>&6
# 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