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-