aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-07 16:27:42 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-09 17:17:40 +0300
commit899730e8c70cd7679394d5c940e8ad953eea262b (patch)
tree1d51d5f9b876718095aacd79ef76acfc9b724135
parent50067864c0095180ef7d362e114dc5046b71703a (diff)
downloadlibmicrohttpd-899730e8c70cd7679394d5c940e8ad953eea262b.tar.gz
libmicrohttpd-899730e8c70cd7679394d5c940e8ad953eea262b.zip
configure: fixed wrong brackets
-rw-r--r--configure.ac23
1 files changed, 16 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index bdf4ac93..b05e79e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1061,13 +1061,22 @@ AC_ARG_ENABLE([[epoll]],
1061 ) 1061 )
1062 1062
1063AS_IF([test "$enable_epoll" != "no"], 1063AS_IF([test "$enable_epoll" != "no"],
1064 [AX_HAVE_EPOLL 1064 [
1065 AS_IF([test "${ax_cv_have_epoll}" = "yes"], 1065 AX_HAVE_EPOLL
1066 [AC_DEFINE([[EPOLL_SUPPORT]],[[1]],[Define to 1 to enable epoll support]) 1066 AS_IF([test "${ax_cv_have_epoll}" = "yes"],
1067 enable_epoll='yes'], 1067 [
1068 [AS_IF([test "$enable_epoll" = "yes"], 1068 AC_DEFINE([[EPOLL_SUPPORT]],[[1]],[Define to 1 to enable epoll support])
1069 AC_MSG_ERROR([[Support for epoll was explicitly requested but cannot be enabled on this platform.]])) 1069 enable_epoll='yes'
1070 enable_epoll='no'])]) 1070 ],
1071 [
1072 AS_IF([test "$enable_epoll" = "yes"],
1073 [AC_MSG_ERROR([[Support for epoll was explicitly requested but cannot be enabled on this platform.]])]
1074 )
1075 enable_epoll='no'
1076 ]
1077 )
1078 ]
1079)
1071 1080
1072AM_CONDITIONAL([MHD_HAVE_EPOLL], [[test "x$enable_epoll" = xyes]]) 1081AM_CONDITIONAL([MHD_HAVE_EPOLL], [[test "x$enable_epoll" = xyes]])
1073 1082