On Tue, Dec 2, 2014 at 10:08 PM, Thomas Petazzoni
<[email protected]> wrote:

>
> So I definitely support Olivier's patch making latex2man optional, and
> the idea of having an explicit --disable-documentation option. It is
> definitely great to make this optional, and autoconf is designed for
> making this possible.
>

Sounds reasonable. Why not:

+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

Also, make this line in Makefile.am conditional?

> SUBDIRS = src tests doc

 -Arun

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to