[1955] 2009-01-26 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1955
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1955
Author:   robertmh
Date:     2009-01-25 23:04:46 +0000 (Sun, 25 Jan 2009)

Log Message:
-----------
2009-01-26  Robert Millan  <[email protected]>

        * configure.ac: Fix cross-compilation check.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/configure
    trunk/grub2/configure.ac

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-01-22 20:27:52 UTC (rev 1954)
+++ trunk/grub2/ChangeLog	2009-01-25 23:04:46 UTC (rev 1955)
@@ -1,3 +1,7 @@
+2009-01-26  Robert Millan  <[email protected]>
+
+	* configure.ac: Fix cross-compilation check.
+	
 2009-01-22  Christian Franke  <[email protected]>
 
 	* kern/misc.c (grub_vsprintf): Fix size and termination of `format2'

Modified: trunk/grub2/configure
===================================================================
--- trunk/grub2/configure	2009-01-22 20:27:52 UTC (rev 1954)
+++ trunk/grub2/configure	2009-01-25 23:04:46 UTC (rev 1955)
@@ -5928,7 +5928,7 @@
 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-

Modified: trunk/grub2/configure.ac
===================================================================
--- trunk/grub2/configure.ac	2009-01-22 20:27:52 UTC (rev 1954)
+++ trunk/grub2/configure.ac	2009-01-25 23:04:46 UTC (rev 1955)
@@ -223,7 +223,7 @@
 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-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.