3c962b3ab00ff3b1293a650cb83d614d9efa411e
[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=1],
6                [AC_MSG_ERROR([libevent not found.])])
7
8   AC_CHECK_HEADERS([event.h], ,
9                    [AC_MSG_ERROR([libevent headers not found.])])
10
11 ])dnl