* configure.ac: Don't look for help2man when cross-compiling. Fixes
part of bug #27349.
+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
# These are not a "must".
AC_PATH_PROG(RUBY, ruby)
-AC_PATH_PROG(HELP2MAN, help2man)
#
# Checks for host programs.
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)