summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCeara Chewning <ceara.k.chewning@intel.com>2012-09-12 22:05:59 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-14 13:32:00 (GMT)
commit473df03bb1d0b5d00579a28a10386aded82bc63f (patch)
tree1e7a9259d0a486573c43b9c7e293fc155aa44bca /configure.ac
parent030f3959f7a297db67e81e3b58f1dab25e3c15a2 (diff)
downloadconnman-473df03bb1d0b5d00579a28a10386aded82bc63f.zip
connman-473df03bb1d0b5d00579a28a10386aded82bc63f.tar.gz
connman-473df03bb1d0b5d00579a28a10386aded82bc63f.tar.bz2
configure.ac: Add readline check
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2a7b20b..1e473f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -421,5 +421,10 @@ AC_ARG_ENABLE(datafiles, AC_HELP_STRING([--disable-datafiles],
[enable_datafiles=${enableval}])
AM_CONDITIONAL(DATAFILES, test "${enable_datafiles}" != "no")
+if (test "${enable_client}" != "no"); then
+ AC_CHECK_HEADERS(readline/readline.h, dummy=yes,
+ AC_MSG_ERROR(readline header files are required))
+fi
+
AC_OUTPUT(Makefile include/version.h src/connman.service
scripts/connman doc/version.xml connman.pc)