From a073fd468d1be4a2b250bb734f6f65b4435063b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Fri, 6 Nov 2015 00:51:39 -0500 Subject: [PATCH] autoconf: add readline dependency for tools --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index e00868ba..902970ec 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,9 @@ PKG_CHECK_MODULES([msgpack], [msgpack >= 1.1]) AC_ARG_ENABLE([tools], AS_HELP_STRING([--disable-tools],[Disable tools (CLI DHT node)]),,build_tools=yes) AM_CONDITIONAL(ENABLE_TOOLS, test x$build_tools == xyes) +AM_COND_IF([ENABLE_TOOLS], [ + AC_CHECK_HEADERS([readline/readline.h readline/history.h]) +]) AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])]) -- GitLab