mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +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_HEADERS_ONCE(execinfo.h)
|
||||||
AC_CHECK_LIB(execinfo, backtrace)
|
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
|
if (test "${enable_client}" != "no"); then
|
||||||
AC_CHECK_HEADERS(readline/readline.h, enable_readline=yes,
|
AC_CHECK_HEADERS(readline/readline.h, enable_readline=yes,
|
||||||
AC_MSG_ERROR(readline header files are required))
|
AC_MSG_ERROR(readline header files are required))
|
||||||
fi
|
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")
|
AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no")
|
||||||
|
|
||||||
AC_ARG_ENABLE([monitor], AC_HELP_STRING([--disable-monitor],
|
AC_ARG_ENABLE([monitor], AC_HELP_STRING([--disable-monitor],
|
||||||
|
Loading…
Reference in New Issue
Block a user