Add the ability to transform Grub program names. For example, a user can easily launch

./configure --program-transform-name="s/grub/grub2/"

And the installed files (in this case for i386-pc) will be:

/usr/lib/grub2/i386-pc/*
/usr/local/sbin/grub2-emu
/usr/local/sbin/grub2-install
...etc

Also grub2-install place boot files in "/boot/grub2"

This allows easy integration into distributions as it allows grub2 to
sit side by side with a grub legacy install without.
This commit is contained in:
jerone 2007-04-10 21:38:26 +00:00
parent 6795c4e10b
commit 1d543c3ec0
5 changed files with 36 additions and 19 deletions

View file

@ -40,6 +40,9 @@ AC_CONFIG_HEADER([config.h])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
# Program name transformations
AC_ARG_PROGRAM
case "$host_cpu" in
powerpc64) host_m32=1 ;;
esac