John Taylor reported that this patch fixes one of his problems in http://savannah.gnu.org/bugs/?27349. It's been a while since I had anything to do with Autoconf's cross-compiling support, so does this look reasonable? The "cross_compiling" variable was added in a considerably older version of Autoconf than we already require.
2009-09-10 Colin Watson <cjwat...@ubuntu.com> * configure.ac: Don't look for help2man when cross-compiling. Fixes part of bug #27349. Index: configure.ac =================================================================== --- configure.ac (revision 2584) +++ configure.ac (working copy) @@ -147,7 +147,9 @@ # These are not a "must". AC_PATH_PROG(RUBY, ruby) -AC_PATH_PROG(HELP2MAN, help2man) +if test "x$cross_compiling" = xno; then + AC_PATH_PROG(HELP2MAN, help2man) +fi # # Checks for host programs. Thanks, -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel