From 580b2a0fb2839b46088a78a5b6818f83d5deeb2b Mon Sep 17 00:00:00 2001 From: robertmh Date: Sun, 25 Jan 2009 23:04:46 +0000 Subject: [PATCH] 2009-01-26 Robert Millan * configure.ac: Fix cross-compilation check. --- ChangeLog | 4 ++++ configure | 2 +- configure.ac | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7c8a28345..1136aabc8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-01-26 Robert Millan + + * configure.ac: Fix cross-compilation check. + 2009-01-22 Christian Franke * kern/misc.c (grub_vsprintf): Fix size and termination of `format2' diff --git a/configure b/configure index de8ef269f..e1c8c9691 100644 --- a/configure +++ b/configure @@ -5928,7 +5928,7 @@ esac echo "${ECHO_T}$TARGET_OBJ2ELF" >&6; } # For cross-compiling. -if test "x$target" != "x$host"; then +if test "x$build" != "x$host"; then # XXX this depends on the implementation of autoconf! tmp_ac_tool_prefix="$ac_tool_prefix" ac_tool_prefix=$target_alias- diff --git a/configure.ac b/configure.ac index 8caaa0697..e563c14df 100644 --- a/configure.ac +++ b/configure.ac @@ -223,7 +223,7 @@ AC_SUBST(TARGET_OBJ2ELF) AC_MSG_RESULT([$TARGET_OBJ2ELF]) # For cross-compiling. -if test "x$target" != "x$host"; then +if test "x$build" != "x$host"; then # XXX this depends on the implementation of autoconf! tmp_ac_tool_prefix="$ac_tool_prefix" ac_tool_prefix=$target_alias-