[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] [PATCH] Fix build from scratch
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] [PATCH] Fix build from scratch |
Date: |
Tue, 2 Dec 2014 22:15:55 +0530 |
On Tue, Dec 2, 2014 at 10:08 PM, Thomas Petazzoni
<address@hidden> 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