mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
build: Move readline check for client to right location
This commit is contained in:
parent
5efc88f3af
commit
a3454f5d82
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user