ソースを参照

configure: fixed wrong brackets

Evgeny Grin (Karlson2k) 4 年 前
コミット
899730e8c7
1 ファイル変更16 行追加7 行削除
  1. 16 7
      configure.ac

+ 16 - 7
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]])