]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-09-11 Colin Watson <cjwatson@ubuntu.com>
authorcjwatson <cjwatson@localhost>
Fri, 11 Sep 2009 14:17:35 +0000 (14:17 +0000)
committercjwatson <cjwatson@localhost>
Fri, 11 Sep 2009 14:17:35 +0000 (14:17 +0000)
* configure.ac: Don't look for help2man when cross-compiling.  Fixes
part of bug #27349.

ChangeLog
configure.ac

index df1ac0733be9679bc12147782dbc42eea48cef89..4aa111936fbd26a59a694db72ca7154d05b323da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 5516058121e6a0634471d3d0a9fcadb5bf0b4432..b7fa044a57d613bf51400aa2d8b28614498fd4de 100644 (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)