From 38b36d1ebd7cea57279f5a3d69f32f445f73175d Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 6 Oct 2015 21:26:26 +0200 Subject: Add configure.ac check for readline headers --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index f3f9bde..479b44d 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,9 @@ AM_PROG_CC_C_O AC_PROG_LIBTOOL # Checks for libraries. +AC_CHECK_HEADERS([readline/readline.h], [], + [AC_MSG_ERROR([Please install readline development headers])] +) PKG_CHECK_MODULES(libusb, libusb-1.0 >= $LIBUSB_VERSION) # Check additional platform flags -- cgit v1.1-32-gdbae