浏览代码

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

	Fixed configure error with --disable-epoll
	* configure.ac
Tatsuhiro Tsujikawa 16 年之前
父节点
当前提交
bbb3589293
共有 3 个文件被更改,包括 8 次插入3 次删除
  1. 5 0
      ChangeLog
  2. 2 2
      configure
  3. 1 1
      configure.ac

+ 5 - 0
ChangeLog

@@ -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>
 
 	Fixed compile error when HAVE_EPOLL is not defined.

+ 2 - 2
configure

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

+ 1 - 1
configure.ac

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