diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-27 19:53:03 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-27 19:53:03 +0000 |
commit | 33b38d894e4bd1527f5b8a5f0cf4b259f2c3f385 (patch) | |
tree | db6e9f025dd9b49b02d43c47e990a88472f9ff93 /configure | |
parent | d40c9fd1bd3b9420c8d68090adf39e97458257be (diff) | |
download | gcc-33b38d894e4bd1527f5b8a5f0cf4b259f2c3f385.tar.gz |
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/configure b/configure index fe956b1c5d6..fd10c209681 100755 --- a/configure +++ b/configure @@ -8527,7 +8527,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar` - test $AR_FOR_TARGET=ar && AR_FOR_TARGET= + test $AR_FOR_TARGET = ar && AR_FOR_TARGET= test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET fi fi @@ -8750,7 +8750,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as` - test $AS_FOR_TARGET=as && AS_FOR_TARGET= + test $AS_FOR_TARGET = as && AS_FOR_TARGET= test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET fi fi @@ -8973,7 +8973,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool` - test $DLLTOOL_FOR_TARGET=dlltool && DLLTOOL_FOR_TARGET= + test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET= test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET fi fi @@ -9196,7 +9196,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld` - test $LD_FOR_TARGET=ld && LD_FOR_TARGET= + test $LD_FOR_TARGET = ld && LD_FOR_TARGET= test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET fi fi @@ -9419,7 +9419,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo` - test $LIPO_FOR_TARGET=lipo && LIPO_FOR_TARGET= + test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET= test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET fi fi @@ -9642,7 +9642,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm` - test $NM_FOR_TARGET=nm && NM_FOR_TARGET= + test $NM_FOR_TARGET = nm && NM_FOR_TARGET= test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET fi fi @@ -9865,7 +9865,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump` - test $OBJDUMP_FOR_TARGET=objdump && OBJDUMP_FOR_TARGET= + test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET= test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET fi fi @@ -10088,7 +10088,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib` - test $RANLIB_FOR_TARGET=ranlib && RANLIB_FOR_TARGET= + test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET= test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET fi fi @@ -10311,7 +10311,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip` - test $STRIP_FOR_TARGET=strip && STRIP_FOR_TARGET= + test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET= test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET fi fi @@ -10534,7 +10534,7 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres` - test $WINDRES_FOR_TARGET=windres && WINDRES_FOR_TARGET= + test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET= test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET fi fi |