aboutsummaryrefslogtreecommitdiffstats
path: root/main/libunwind/force-enable-man.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libunwind/force-enable-man.patch')
-rw-r--r--main/libunwind/force-enable-man.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/libunwind/force-enable-man.patch b/main/libunwind/force-enable-man.patch
new file mode 100644
index 0000000000..d45adaa3ef
--- /dev/null
+++ b/main/libunwind/force-enable-man.patch
@@ -0,0 +1,16 @@
+Man pages are already built in the release tarball, so we don't need latex2man.
+--- a/configure.ac
++++ b/configure.ac
+@@ -385,12 +385,6 @@
+ AC_SUBST(enable_debug_frame)
+ AC_SUBST(DLLIB)
+
+-AC_PATH_PROG([LATEX2MAN],[latex2man])
+-if test "x$LATEX2MAN" = "x"; then
+- AC_MSG_WARN([latex2man not found. Install latex2man. Disabling docs.])
+- enable_documentation="no";
+-fi
+-
+ AM_CONDITIONAL([CONFIG_DOCS], [test x$enable_documentation = xyes])
+ if test "x$enable_documentation" = "xyes"; then
+ AC_CONFIG_FILES(doc/Makefile doc/common.tex)