File: libevent.m4

package info (click to toggle)
nfs-utils 1%3A1.2.2-4squeeze3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 5,412 kB
  • ctags: 3,305
  • sloc: ansic: 31,349; sh: 10,787; python: 979; makefile: 663
file content (11 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
dnl Checks for libevent
AC_DEFUN([AC_LIBEVENT], [

  dnl Check for libevent, but do not add -levent to LIBS
  AC_CHECK_LIB([event], [event_dispatch], [libevent=1],
               [AC_MSG_ERROR([libevent not found.])])

  AC_CHECK_HEADERS([event.h], ,
                   [AC_MSG_ERROR([libevent headers not found.])])

])dnl