Revision: 2586
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2586
Author: cjwatson
Date: 2009-09-11 14:17:35 +0000 (Fri, 11 Sep 2009)
Log Message:
-----------
2009-09-11 Colin Watson <[email protected]>
* configure.ac: Don't look for help2man when cross-compiling. Fixes
part of bug #27349.
Ticket Links:
:-----------
http://savannah.gnu.org/bugs/?27349
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/configure.ac
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-09-10 19:04:43 UTC (rev 2585)
+++ trunk/grub2/ChangeLog 2009-09-11 14:17:35 UTC (rev 2586)
@@ -1,3 +1,8 @@
+2009-09-11 Colin Watson <[email protected]>
+
+ * configure.ac: Don't look for help2man when cross-compiling. Fixes
+ part of bug #27349.
+
2009-09-10 Felix Zielcke <[email protected]>
* util/grub-mkconfig.in: Make the created config mode 400 and
Modified: trunk/grub2/configure.ac
===================================================================
--- trunk/grub2/configure.ac 2009-09-10 19:04:43 UTC (rev 2585)
+++ trunk/grub2/configure.ac 2009-09-11 14:17:35 UTC (rev 2586)
@@ -147,7 +147,6 @@
# These are not a "must".
AC_PATH_PROG(RUBY, ruby)
-AC_PATH_PROG(HELP2MAN, help2man)
#
# Checks for host programs.
@@ -171,6 +170,12 @@
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)