Fixed --disable-epoll making configure fail.

This commit is contained in:
irungentoo 2014-07-22 15:47:06 -04:00
parent c3818ac91f
commit cc53e9254f
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -206,8 +206,8 @@ AC_ARG_ENABLE([[epoll]],
[enable_epoll='auto']
)
AX_HAVE_EPOLL
if test "$enable_epoll" != "no"; then
AX_HAVE_EPOLL
if test "${ax_cv_have_epoll}" = "yes"; then
AC_DEFINE([TCP_SERVER_USE_EPOLL],[1],[define to 1 to enable epoll support])
enable_epoll='yes'