3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-26 01:02:35 +01:00

build: Check for the presence of readline

This commit is contained in:
Tim Kourt 2017-03-23 09:48:58 -07:00 committed by Denis Kenzior
parent 4f5f231c5e
commit e858c3b8c0

View File

@ -72,6 +72,9 @@ AC_DEFINE_UNQUOTED(CONFIGDIR, "/etc/iwd", [Configuration directory])
AC_CHECK_HEADERS(linux/types.h linux/if_alg.h)
AC_CHECK_HEADERS(readline/readline.h, enable_readline=yes,
AC_MSG_ERROR(readline header files are required))
AC_PATH_PROG(A2X, [a2x], [], $PATH:/sbin:/usr/sbin)
AM_CONDITIONAL(BUILD_DOCS, test "$A2X" != "")