2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Fixed configure error with --disable-epoll
	* configure.ac
pull/1/head
Tatsuhiro Tsujikawa 2009-02-06 16:51:00 +00:00
parent 5f0f8e68b2
commit bbb3589293
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed configure error with --disable-epoll
* configure.ac
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error when HAVE_EPOLL is not defined. Fixed compile error when HAVE_EPOLL is not defined.

4
configure vendored
View File

@ -20981,7 +20981,8 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF _ACEOF
fi fi
if test "x$have_epoll" = "xyes"; then fi
if test "x$have_epoll" = "xyes"; then
HAVE_EPOLL_TRUE= HAVE_EPOLL_TRUE=
HAVE_EPOLL_FALSE='#' HAVE_EPOLL_FALSE='#'
else else
@ -20989,7 +20990,6 @@ else
HAVE_EPOLL_FALSE= HAVE_EPOLL_FALSE=
fi fi
fi
for ac_func in asctime_r for ac_func in asctime_r

View File

@ -289,8 +289,8 @@ if test "x$enable_epoll" = "xyes"; then
if test "x$have_epoll" = "xyes"; then if test "x$have_epoll" = "xyes"; then
AC_DEFINE([HAVE_EPOLL], [1], [Define to 1 if epoll is available.]) AC_DEFINE([HAVE_EPOLL], [1], [Define to 1 if epoll is available.])
fi fi
AM_CONDITIONAL([HAVE_EPOLL], [test "x$have_epoll" = "xyes"])
fi fi
AM_CONDITIONAL([HAVE_EPOLL], [test "x$have_epoll" = "xyes"])
AC_CHECK_FUNCS([asctime_r], AC_CHECK_FUNCS([asctime_r],
[AM_CONDITIONAL([HAVE_ASCTIME_R], true)], [AM_CONDITIONAL([HAVE_ASCTIME_R], true)],