From 5f885e6e0ab8c9c411869a48fb5b59218820eade Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 24 Jul 2009 21:01:59 +0200 Subject: [PATCH] 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 --- configure.ac | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 50c7d1b..b0731b7 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,10 @@ PKG_CHECK_MODULES(libplist, libplist >= 0.12) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h gcrypt.h]) +AC_CHECK_HEADERS([readline/readline.h], + [], + [AC_MSG_ERROR([Please install readline development headers])] +) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST -- 1.6.2.4