From 00e0da7aa5ea4eb50b55598a8ad75d2a8c57b76d Mon Sep 17 00:00:00 2001 From: rakshasa Date: Thu, 28 Jul 2005 01:47:35 +0000 Subject: [PATCH] * Fixed torrent::PollSelect::perform(...) so it checks if the Event* is NULL, which happens if another event removes it. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@511 e378c898-3ddf-0310-93e7-cc216c733640 --- scripts/checks.m4 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/checks.m4 b/scripts/checks.m4 index c4646945..cfe64608 100644 --- a/scripts/checks.m4 +++ b/scripts/checks.m4 @@ -96,6 +96,17 @@ AC_DEFUN([TORRENT_WITHOUT_XFS], [ ]) +AC_DEFUN([TORRENT_WITH_XFS], [ + AC_ARG_WITH(xfs, + [ --with-xfs Check for XFS filesystem support], + [ + if test "$withval" = "yes"; then + TORRENT_CHECK_XFS + fi + ]) +]) + + AC_DEFUN([TORRENT_CHECK_EPOLL], [ AC_MSG_CHECKING(for epoll support)