X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=02698885375515674b0ee2f68795dbd5dd67c05f;hp=066c4e20e3cc5ed293ca631428f86683c4294a78;hb=099e26bda04bd3e02eee5b0a17fc0d7f47e3f8ea;hpb=3817e7df7aa29d8f52f1a4909b4fa6b660494323 diff --git a/configure.ac b/configure.ac index 066c4e20e..026988853 100644 --- a/configure.ac +++ b/configure.ac @@ -22,11 +22,16 @@ AC_CHECK_LIB([popt], [poptGetContext], [], [AC_MSG_ERROR([Cannot find libpopt. Use [LDFLAGS]=-Ldir to specify its location.])] ) -# Check liburcu +# Check liburcu list.h AC_CHECK_DECL([cds_list_add], [], [AC_MSG_ERROR([liburcu 0.5.4 or newer is needed])], [[#include ]] ) +# Check liburcu wfqueue.h +AC_CHECK_DECL([cds_wfq_init], [], + [AC_MSG_ERROR([liburcu 0.5.4 or newer is needed])], [[#include ]] +) + AC_PROG_CC AC_PROG_LIBTOOL