[lttng-dev] [lttng-ust PATCH 2/3] Add check for 'texinfo' to configure.ac

Alexandre Montplaisir alexandre.montplaisir at gmail.com
Thu Dec 1 18:37:42 EST 2011


Fix for http://lttng.org/issue/252

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir at gmail.com>
---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 74fb795..2ed7f5d 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.
-- 
1.7.7.3




More information about the lttng-dev mailing list