Add check for 'texinfo' to configure.ac
[lttng-ust.git] / configure.ac
index be6a6611345ee09026ffd0764c94e9cdf5d2a3ea..2ed7f5d8ee3ba9d096affe106eacdd1b367d3132 100644 (file)
@@ -29,7 +29,7 @@ AC_DEFINE_UNQUOTED([VERSION_PATCHLEVEL], $patchlevel_version, [UST patchlevel ve
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_MAKE_SET
-m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
+LT_INIT
 
 ## Checks for libraries.
 AC_CHECK_LIB([dl], [dlopen])
@@ -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.022148 seconds and 4 git commands to generate.