[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Don't try to use help2man when cross-compiling
From: |
Colin Watson |
Subject: |
[PATCH] Don't try to use help2man when cross-compiling |
Date: |
Thu, 10 Sep 2009 16:37:29 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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 <address@hidden>
* 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 address@hidden
- [PATCH] Don't try to use help2man when cross-compiling,
Colin Watson <=