~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libevent.m4

Merge Monty

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],[