summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-10-06 21:26:26 +0200
committerGravatar Martin Szulecki2015-10-06 21:26:26 +0200
commit38b36d1ebd7cea57279f5a3d69f32f445f73175d (patch)
treecdc541a0f29c3083b32e7ee97bae5d8671e3ece6
parent84a03bf674ef96957631d90085f82bf58a3cbd40 (diff)
downloadlibirecovery-38b36d1ebd7cea57279f5a3d69f32f445f73175d.tar.gz
libirecovery-38b36d1ebd7cea57279f5a3d69f32f445f73175d.tar.bz2
Add configure.ac check for readline headers
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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