~eday/drizzle/eday-dev

« back to all changes in this revision

Viewing changes to m4/pandora_have_libevent.m4

  • Committer: Eric Day
  • Date: 2010-01-07 20:02:38 UTC
  • mfrom: (971.3.291 staging)
  • Revision ID: eday@oddments.org-20100107200238-uqw8v6kv9pl7nny5
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
  ]) 
26
26
 
27
27
  AM_CONDITIONAL(HAVE_LIBEVENT, [test "x${ac_cv_libevent}" = "xyes"])
 
28
 
 
29
  AS_IF([test "x${ac_cv_libevent}" = "xyes"],[
 
30
    save_LIBS="${LIBS}"
 
31
    LIBS="${LIBS} ${LTLIBEVENT}"
 
32
    AC_CHECK_FUNCS(event_base_new)
 
33
    AC_CHECK_FUNCS(event_base_free)
 
34
    AC_CHECK_FUNCS(event_base_get_method)
 
35
    LIBS="$save_LIBS"
 
36
  ])
28
37
])
29
38
 
30
39
AC_DEFUN([_PANDORA_HAVE_LIBEVENT],[