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

build: Move readline check for client to right location

This commit is contained in:
Marcel Holtmann 2018-09-14 14:27:26 +02:00
parent 5efc88f3af
commit a3454f5d82

View File

@ -77,14 +77,14 @@ AC_CHECK_HEADERS(linux/types.h linux/if_alg.h)
AC_CHECK_HEADERS_ONCE(execinfo.h)
AC_CHECK_LIB(execinfo, backtrace)
AC_ARG_ENABLE([client], AC_HELP_STRING([--disable-client],
[don't install iwctl client utility]),
[enable_client=${enableval}])
AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no")
if (test "${enable_client}" != "no"); then
AC_CHECK_HEADERS(readline/readline.h, enable_readline=yes,
AC_MSG_ERROR(readline header files are required))
fi
AC_ARG_ENABLE([client], AC_HELP_STRING([--disable-client],
[don't install iwctl client utility]),
[enable_client=${enableval}])
AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no")
AC_ARG_ENABLE([monitor], AC_HELP_STRING([--disable-monitor],