2009-04-12 Pavel Roskin <proski@gnu.org>

* configure.ac: Change the logic when we check for target tools.
         Do it when the target is specified and it's different from the
         specified value of the host.
This commit is contained in:
proski 2009-04-12 04:33:18 +00:00
parent 0f0bdfb199
commit 5b5d4aa5f0
3 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2009-04-12 Pavel Roskin <proski@gnu.org>
* configure.ac: Change the logic when we check for target tools.
Do it when the target is specified and it's different from the
specified value of the host.
2009-04-11 Felix Zielcke <fzielcke@z-51.de> 2009-04-11 Felix Zielcke <fzielcke@z-51.de>
* util/hostdisk.c [__FreeBSD_kernel__]: Include sys/disk.h. * util/hostdisk.c [__FreeBSD_kernel__]: Include sys/disk.h.

5
configure vendored
View file

@ -5942,9 +5942,8 @@ esac
{ echo "$as_me:$LINENO: result: $TARGET_OBJ2ELF" >&5 { echo "$as_me:$LINENO: result: $TARGET_OBJ2ELF" >&5
echo "${ECHO_T}$TARGET_OBJ2ELF" >&6; } echo "${ECHO_T}$TARGET_OBJ2ELF" >&6; }
# For cross-compiling. # Find tools for the target.
if test "x$build" != "x$host"; then if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then
# XXX this depends on the implementation of autoconf!
tmp_ac_tool_prefix="$ac_tool_prefix" tmp_ac_tool_prefix="$ac_tool_prefix"
ac_tool_prefix=$target_alias- ac_tool_prefix=$target_alias-

View file

@ -231,9 +231,8 @@ esac
AC_SUBST(TARGET_OBJ2ELF) AC_SUBST(TARGET_OBJ2ELF)
AC_MSG_RESULT([$TARGET_OBJ2ELF]) AC_MSG_RESULT([$TARGET_OBJ2ELF])
# For cross-compiling. # Find tools for the target.
if test "x$build" != "x$host"; then if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then
# XXX this depends on the implementation of autoconf!
tmp_ac_tool_prefix="$ac_tool_prefix" tmp_ac_tool_prefix="$ac_tool_prefix"
ac_tool_prefix=$target_alias- ac_tool_prefix=$target_alias-