Commit c15b113b by DJ Delorie Committed by DJ Delorie

configure.ac (gcc_cv_nm): Don't use an in-tree nm if build!=host.

* configure.ac (gcc_cv_nm): Don't use an in-tree nm if
build!=host.
(gcc_cv_objdump): Likewise.
* configure: Regenerated.

From-SVN: r113447
parent 7ba437d6
2006-05-01 DJ Delorie <dj@redhat.com>
* configure.ac (gcc_cv_nm): Don't use an in-tree nm if
build!=host.
(gcc_cv_objdump): Likewise.
* configure: Regenerated.
2006-05-01 Kazu Hirata <kazu@codesourcery.com> 2006-05-01 Kazu Hirata <kazu@codesourcery.com>
PR target/27374 PR target/27374
......
...@@ -13171,7 +13171,8 @@ if test "${gcc_cv_nm+set}" = set; then ...@@ -13171,7 +13171,8 @@ if test "${gcc_cv_nm+set}" = set; then
else else
if test -f $gcc_cv_binutils_srcdir/configure.in \ if test -f $gcc_cv_binutils_srcdir/configure.in \
&& test -f ../binutils/Makefile; then && test -f ../binutils/Makefile \
&& test x$build = x$host; then
gcc_cv_nm=../binutils/nm-new$build_exeext gcc_cv_nm=../binutils/nm-new$build_exeext
elif test -x nm$build_exeext; then elif test -x nm$build_exeext; then
gcc_cv_nm=./nm$build_exeext gcc_cv_nm=./nm$build_exeext
...@@ -13243,7 +13244,8 @@ if test "${gcc_cv_objdump+set}" = set; then ...@@ -13243,7 +13244,8 @@ if test "${gcc_cv_objdump+set}" = set; then
else else
if test -f $gcc_cv_binutils_srcdir/configure.in \ if test -f $gcc_cv_binutils_srcdir/configure.in \
&& test -f ../binutils/Makefile; then && test -f ../binutils/Makefile \
&& test x$build = x$host; then
# Single tree build which includes binutils. # Single tree build which includes binutils.
gcc_cv_objdump=../binutils/objdump$build_exeext gcc_cv_objdump=../binutils/objdump$build_exeext
elif test -x objdump$build_exeext; then elif test -x objdump$build_exeext; then
......
...@@ -1918,7 +1918,8 @@ fi ...@@ -1918,7 +1918,8 @@ fi
gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
AS_VAR_SET_IF(gcc_cv_nm,, [ AS_VAR_SET_IF(gcc_cv_nm,, [
if test -f $gcc_cv_binutils_srcdir/configure.in \ if test -f $gcc_cv_binutils_srcdir/configure.in \
&& test -f ../binutils/Makefile; then && test -f ../binutils/Makefile \
&& test x$build = x$host; then
gcc_cv_nm=../binutils/nm-new$build_exeext gcc_cv_nm=../binutils/nm-new$build_exeext
elif test -x nm$build_exeext; then elif test -x nm$build_exeext; then
gcc_cv_nm=./nm$build_exeext gcc_cv_nm=./nm$build_exeext
...@@ -1944,7 +1945,8 @@ AC_SUBST(ORIGINAL_NM_FOR_TARGET) ...@@ -1944,7 +1945,8 @@ AC_SUBST(ORIGINAL_NM_FOR_TARGET)
# Figure out what objdump we will be using. # Figure out what objdump we will be using.
AS_VAR_SET_IF(gcc_cv_objdump,, [ AS_VAR_SET_IF(gcc_cv_objdump,, [
if test -f $gcc_cv_binutils_srcdir/configure.in \ if test -f $gcc_cv_binutils_srcdir/configure.in \
&& test -f ../binutils/Makefile; then && test -f ../binutils/Makefile \
&& test x$build = x$host; then
# Single tree build which includes binutils. # Single tree build which includes binutils.
gcc_cv_objdump=../binutils/objdump$build_exeext gcc_cv_objdump=../binutils/objdump$build_exeext
elif test -x objdump$build_exeext; then elif test -x objdump$build_exeext; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment