* util/grub-mkrescue.in: Sync up with grub-install in terms of how
we handle finding grub-mkimage.  Default to finding grub-mkimage in
${bindir} with program_transform_name applied, and provide a
--grub-mkimage option to override this.
Fix build with non-GNU libcs.
* util/misc.c (canonicalize_file_name): Move to ...
* kern/emu/misc.c (canonicalize_file_name): ... here.  Needed by
grub_make_system_path_relative_to_its_root.
Fix some error when merging with grub2-cur 修复一些合并 grub2-cur 时的错误
1. Add back the grub_target_to_host* and grub_host_to_target* defines
   重新加回 grub_target_to_host* 和 grub_host_to_target* 等的 define
2. Add back the function grub_strcmp
   重新加回函数 grub_strcmp
Merge with grub2-bzr r2375 与 grub2-bzr 版本2375合并
See http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/2375

Conflicts:
	util/grub-mkrescue.in
	util/misc.c
Refine util/grub-mkrescue.in
完善 util/grub-mkrescue.in

Including the following commit in grub2-bzr :
* util/grub-mkrescue.in: Remove -O i386-pc duplication.
* util/grub-mkrescue.in: Initialise override_dir rather than
  assuming that it's unset or empty in the environment.
* Make --version uniform and avoid hard-coded program name.
* util/grub-mkconfig.in: Use 'set -e' rather than '#! /bin/sh -e',
to avoid accidents when debugging with 'sh -x'.
Refine util/grub-install.in
完善 util/grub-install.in

Including the following commit in grub2-bzr :
* util/grub-install.in: Add missing "in" keyword.
* Make --version uniform and avoid hard-coded program name.