mountd: cache.c no longer needs #include xmalloc.h
[nfs-utils.git] / aclocal / libevent.m4
1 dnl Checks for libevent
2 AC_DEFUN([AC_LIBEVENT], [
3
4   dnl Check for libevent, but do not add -levent to LIBS
5   AC_CHECK_LIB([event], [event_dispatch], [LIBEVENT=-levent],
6                [AC_MSG_ERROR([libevent not found.])])
7   AC_SUBST(LIBEVENT)
8
9   AC_CHECK_HEADERS([event.h], ,
10                    [AC_MSG_ERROR([libevent headers not found.])])
11
12 ])dnl