commit a3454f5d8239df4e63ef91a0dac93d5fba7ae634
parent 5efc88f3afcf1745308cbb5245c2b447a2040a2e
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 14 Sep 2018 14:27:26 +0200
build: Move readline check for client to right location
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -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],