commit 899730e8c70cd7679394d5c940e8ad953eea262b
parent 50067864c0095180ef7d362e114dc5046b71703a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 7 Oct 2021 16:27:42 +0300
configure: fixed wrong brackets
Diffstat:
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -1061,13 +1061,22 @@ AC_ARG_ENABLE([[epoll]],
)
AS_IF([test "$enable_epoll" != "no"],
- [AX_HAVE_EPOLL
- AS_IF([test "${ax_cv_have_epoll}" = "yes"],
- [AC_DEFINE([[EPOLL_SUPPORT]],[[1]],[Define to 1 to enable epoll support])
- enable_epoll='yes'],
- [AS_IF([test "$enable_epoll" = "yes"],
- AC_MSG_ERROR([[Support for epoll was explicitly requested but cannot be enabled on this platform.]]))
- enable_epoll='no'])])
+ [
+ AX_HAVE_EPOLL
+ AS_IF([test "${ax_cv_have_epoll}" = "yes"],
+ [
+ AC_DEFINE([[EPOLL_SUPPORT]],[[1]],[Define to 1 to enable epoll support])
+ enable_epoll='yes'
+ ],
+ [
+ AS_IF([test "$enable_epoll" = "yes"],
+ [AC_MSG_ERROR([[Support for epoll was explicitly requested but cannot be enabled on this platform.]])]
+ )
+ enable_epoll='no'
+ ]
+ )
+ ]
+)
AM_CONDITIONAL([MHD_HAVE_EPOLL], [[test "x$enable_epoll" = xyes]])