summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeara Chewning <ceara.k.chewning@intel.com>2012-09-12 15:05:59 -0700
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-14 16:32:00 +0300
commit473df03bb1d0b5d00579a28a10386aded82bc63f (patch)
tree1e7a9259d0a486573c43b9c7e293fc155aa44bca
parent030f3959f7a297db67e81e3b58f1dab25e3c15a2 (diff)
downloadconnman-473df03bb1d0b5d00579a28a10386aded82bc63f.tar.gz
connman-473df03bb1d0b5d00579a28a10386aded82bc63f.tar.bz2
connman-473df03bb1d0b5d00579a28a10386aded82bc63f.zip
configure.ac: Add readline check
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2a7b20b6..1e473f54 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)