diff options
author | Christophe Fergeau | 2009-07-24 21:01:59 +0200 |
---|---|---|
committer | Matt Colyer | 2009-07-26 19:28:15 -0700 |
commit | 8ebfd7d8eea89bb27e4e6dbb1f37fd90d98b439c (patch) | |
tree | 012151699b0d7f7b0dae8a631db545274af64833 | |
parent | 53ed3be0463522cc3f8028def453c78be10f165b (diff) | |
download | libimobiledevice-8ebfd7d8eea89bb27e4e6dbb1f37fd90d98b439c.tar.gz libimobiledevice-8ebfd7d8eea89bb27e4e6dbb1f37fd90d98b439c.tar.bz2 |
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 <matt@colyer.name>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
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 |