+Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added better check for epoll() in configure. Affected file
+ is lib/configure.ad.
+
Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
* Fixed per scheduler data input buffer in packet engine. Use
o Finish all the missing SILC packet processings, rewrites. (***DONE)
- o The client_notify.c rewrite. (***TESTING NEEDED)
+ o The client_notify.c rewrite. (***DONE)
o Resuming to client_register.c (remove client_resume.c)
(***TESTING NEEDED)
o Starting key exchange directly, rewrite. (***DONE)
o Channel messages, channel private keys, channel entires, channel
- search, etc. rewrite. (***TESTING NEEDED */
+ search, etc. rewrite. (***TESTING NEEDED)
o For many APIs leave the hash context allocations to the caller instead
of using client->sha1hash and client->md5hash, or some kind of thread
o Porting to use the new util library. (***DONE)
+ o Read-ahead (1.2)
+
lib/silccore/silcpacket.[ch] ****PARTLY DONE****
============================
AC_CHECK_FUNCS(setrlimit time ctime utime gettimeofday getrusage)
AC_CHECK_FUNCS(chmod fcntl stat fstat getenv putenv strerror)
AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid)
-AC_CHECK_FUNCS(setgroups initgroups nl_langinfo epoll_wait nanosleep)
+AC_CHECK_FUNCS(setgroups initgroups nl_langinfo nanosleep)
AC_CHECK_FUNCS(strchr snprintf strstr strcpy strncpy memcpy memset memmove)
#ifdef SILC_DIST_SIM
# Check for big-endian machines
AC_C_BIGENDIAN
+# Check for epoll_wait and verify that epoll_create works
+AC_CHECK_FUNC(epoll_wait,
+ [
+ AC_RUN_IFELSE(
+ [
+ #include <sys/epoll.h>
+ int main()
+ {
+ int ret = epoll_create(5);
+ if (ret < 0)
+ return 1;
+ close(ret);
+ return 0;
+ }
+ ],
+ [
+ AC_DEFINE([HAVE_EPOLL_WAIT], [1], [HAVE_EPOLL_WAIT])
+ ],
+ )
+ ])
+
#ifdef SILC_DIST_SIM
# SIM modules directory
#