mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
build: Fix the build with old system-installed tevent
We depend on the tracing callback mechanism in ctdb. (This used to be ctdb commit 5f58c811127a89f162b6a41ddcd6e944801740a5)
This commit is contained in:
parent
861d5304ac
commit
4c5852bf0f
@ -11,7 +11,10 @@ AC_SUBST(TEVENT_CFLAGS)
|
||||
if test x"$INCLUDED_TEVENT" != x"yes" ; then
|
||||
AC_CHECK_HEADERS(tevent.h)
|
||||
AC_CHECK_LIB(tevent, tevent_context_init, [ TEVENT_LIBS="-ltevent" ])
|
||||
if test x"$ac_cv_header_tevent_h" = x"no" -o x"$ac_cv_lib_tevent_tevent_context_init" = x"no" ; then
|
||||
AC_CHECK_DECLS([TEVENT_TRACE_BEFORE_WAIT], [[#include <tevent.h>]])
|
||||
if test x"$ac_cv_header_tevent_h" = x"no" -o \
|
||||
x"$ac_cv_lib_tevent_tevent_context_init" = x"no" -o \
|
||||
x"$ac_cv_have_decl_TEVENT_TRACE_BEFORE_WAIT" = x"no" ; then
|
||||
INCLUDED_TEVENT=yes
|
||||
TEVENT_CFLAGS=""
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user