[svn] Need to check for various flavours of epoll,

even if --enable-epoll is forced.
This commit is contained in:
jilles 2007-03-30 16:33:43 -07:00
parent 5c5d24f088
commit a34ec229bf
3 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,12 @@
jilles 2007/03/30 23:32:43 UTC (20070330-3321)
Log:
Hack to allow some more warnings, already present in configure (?).
Changes: Modified:
+1 -1 trunk/aclocal.m4 (File Modified)
jilles 2007/03/29 20:03:06 UTC (20070329-3319) jilles 2007/03/29 20:03:06 UTC (20070329-3319)
Log: Log:
Merge old trunk r2077,r2079: Merge old trunk r2077,r2079:

View file

@ -1,4 +1,4 @@
dnl $Id: configure.ac 3145 2007-01-25 06:45:04Z nenolod $ dnl $Id: configure.ac 3323 2007-03-30 23:33:43Z jilles $
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl TODO: clean up all the OpenSSL and shared module checking stuff; dnl TODO: clean up all the OpenSSL and shared module checking stuff;
@ -8,7 +8,7 @@ dnl said functions need to be just about as complex as they already are.
AC_PREREQ(2.57) AC_PREREQ(2.57)
dnl Sneaky way to get an Id tag into the configure script dnl Sneaky way to get an Id tag into the configure script
AC_COPYRIGHT([$Id: configure.ac 3145 2007-01-25 06:45:04Z nenolod $]) AC_COPYRIGHT([$Id: configure.ac 3323 2007-03-30 23:33:43Z jilles $])
AC_INIT([charybdis],[2.2.0]) AC_INIT([charybdis],[2.2.0])
@ -668,6 +668,7 @@ AC_ARG_ENABLE(devpoll,AC_HELP_STRING([--enable-devpoll],[Force usage of /dev/pol
AC_ARG_ENABLE(epoll, AC_HELP_STRING([--enable-epoll],[Force sys_epoll usage (Linux only).]), AC_ARG_ENABLE(epoll, AC_HELP_STRING([--enable-epoll],[Force sys_epoll usage (Linux only).]),
[ if test $enableval = yes; then [ if test $enableval = yes; then
SELECT_TYPE_EXPLICIT="epoll" SELECT_TYPE_EXPLICIT="epoll"
AC_CHECK_FUNCS(epoll_ctl, [haveepoll=yes], [haveepoll=no])
else else
use_epoll=no use_epoll=no
fi fi

View file

@ -1 +1 @@
#define SERNO "20070329-3319" #define SERNO "20070330-3321"