Add check for 'texinfo' to configure.ac
authorAlexandre Montplaisir <alexandre.montplaisir@gmail.com>
Fri, 2 Dec 2011 02:20:56 +0000 (21:20 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 2 Dec 2011 02:20:56 +0000 (21:20 -0500)
Fix for http://lttng.org/issue/252

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index 74fb795db41e9cc8b9d35e5176df95595c03b1fb..2ed7f5d8ee3ba9d096affe106eacdd1b367d3132 100644 (file)
@@ -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.
This page took 0.031046 seconds and 4 git commands to generate.