From 8ebfd7d8eea89bb27e4e6dbb1f37fd90d98b439c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 24 Jul 2009 21:01:59 +0200 Subject: check for readline availability dev/lckdclient.c includes headers from readline but configure.ac doesn't make sure these headers are available. This commit makes sure readline/readline.h is present and assumes readline is properly installed if this header is present [#59 state:resolved] Signed-off-by: Matt Colyer --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 140d2fe..38795ab 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,10 @@ AC_ARG_ENABLE([dev-tools], [build_dev_tools=false]) if test "$build_dev_tools" = true; then DEV_SUB=dev + AC_CHECK_HEADERS([readline/readline.h], + [], + [AC_MSG_ERROR([Please install readline development headers])] + ) else DEV_SUB= fi -- cgit v1.1-32-gdbae