2009-09-11 Colin Watson <cjwatson@ubuntu.com>

* configure.ac: Don't look for help2man when cross-compiling.  Fixes
	part of bug #27349.
This commit is contained in:
cjwatson 2009-09-11 14:17:35 +00:00
parent 8aa1541a41
commit 866953751f
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-11 Colin Watson <cjwatson@ubuntu.com>
* configure.ac: Don't look for help2man when cross-compiling. Fixes
part of bug #27349.
2009-09-10 Felix Zielcke <fzielcke@z-51.de>
* util/grub-mkconfig.in: Make the created config mode 400 and

View File

@ -147,7 +147,6 @@ AC_PROG_MAKE_SET
# These are not a "must".
AC_PATH_PROG(RUBY, ruby)
AC_PATH_PROG(HELP2MAN, help2man)
#
# Checks for host programs.
@ -171,6 +170,12 @@ if test x$grub_cv_apple_cc = xyes ; then
ASFLAGS="$ASFLAGS -DAPPLE_CC=1"
fi
if test "x$cross_compiling" = xyes; then
AC_MSG_WARN([cannot generate manual pages while cross compiling])
else
AC_PATH_PROG(HELP2MAN, help2man)
fi
# Check for functions.
AC_CHECK_FUNCS(posix_memalign memalign asprintf)