From 79f7b13112003c1af84404fa248c6bd22a910f21 Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Thu, 1 Dec 2011 21:20:56 -0500 Subject: [PATCH] Add check for 'texinfo' to configure.ac Fix for http://lttng.org/issue/252 Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 74fb795d..2ed7f5d8 100644 --- a/configure.ac +++ b/configure.ac @@ -64,6 +64,13 @@ AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol]) CFLAGS="-Wall $CFLAGS" +# Check for texinfo, required for building the documentation +# TODO: make this (and building the documentation) optional +AC_CHECK_PROG([TEXINFO], [makeinfo], [yes]) +AS_IF([test "x$TEXINFO" != "xyes"],[ + AC_MSG_ERROR([Please install the 'texinfo' program and make sure 'makeinfo' is in the PATH.]) +]) + # URCU # urcu - check if we just find the headers it out of the box. -- 2.34.1