From: Alexandre Montplaisir Date: Fri, 2 Dec 2011 02:20:56 +0000 (-0500) Subject: Add check for 'texinfo' to configure.ac X-Git-Tag: v1.9.1~31 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=79f7b13112003c1af84404fa248c6bd22a910f21;p=lttng-ust.git Add check for 'texinfo' to configure.ac Fix for http://lttng.org/issue/252 Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers --- 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.