Fix: detect the correct version of LTTng-UST
authorDavid Goulet <dgoulet@efficios.com>
Fri, 28 Jun 2013 18:35:09 +0000 (14:35 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 28 Jun 2013 18:35:48 +0000 (14:35 -0400)
Fixes #580

Signed-off-by: David Goulet <dgoulet@efficios.com>
configure.ac

index 36c4ae14d1c46eb541f615ee3f563df4afa9d14b..b43015249283690a7aea99b10c82d1a3b8e099c2 100644 (file)
@@ -182,12 +182,12 @@ AC_ARG_ENABLE(lttng-ust,
        lttng_ust_support=$enableval, lttng_ust_support=yes)
 
 AS_IF([test "x$lttng_ust_support" = "xyes"], [
-       AC_CHECK_LIB([lttng-ust-ctl], [ustctl_set_filter],
+       AC_CHECK_LIB([lttng-ust-ctl], [ustctl_recv_channel_from_consumer],
                [
                        AC_DEFINE([HAVE_LIBLTTNG_UST_CTL], [1], [has LTTng-UST control support])
                        lttng_ust_ctl_found=yes
                ],
-               [AC_MSG_ERROR([Cannot find LTTng-UST >= 2.1.x. Use --with-lttng-ust-prefix=PREFIX to specify its location, or specify --disable-lttng-ust to build lttng-tools without LTTng-UST support.])],
+               [AC_MSG_ERROR([Cannot find LTTng-UST >= 2.2.x. Use --with-lttng-ust-prefix=PREFIX to specify its location, or specify --disable-lttng-ust to build lttng-tools without LTTng-UST support.])],
                [-lurcu-common -lurcu-bp -lurcu-cds -lrt]
        )
 ])
This page took 0.027844 seconds and 5 git commands to generate.