From: Yannick Brosseau Date: Mon, 11 Mar 2013 19:18:35 +0000 (-0400) Subject: Use babeltrace pkg-config X-Git-Tag: v1.5-beta1~28 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6b32582a30adc2fcb814037f24ced8b3c8014dda;p=lttv.git Use babeltrace pkg-config Signed-off-by: Yannick Brosseau --- diff --git a/configure.ac b/configure.ac index 2af9ebec..1dc396c1 100644 --- a/configure.ac +++ b/configure.ac @@ -112,8 +112,7 @@ PKG_CHECK_MODULES(GMODULE, [$pkg_modules]) pkg_modules="gobject-2.0 >= 2.0.0" PKG_CHECK_MODULES(GOBJECT, [$pkg_modules]) -# Todo add test for babeltrace pkg-config -BABELTRACE_LIBS="-lbabeltrace -lbabeltrace-ctf" +PKG_CHECK_MODULES(BABELTRACE, [babeltrace >= 1.0.0]) LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS $BABELTRACE_LIBS" PACKAGE_CFLAGS="$GTK_CFLAGS $GOBJECT_CFLAGS $GMODULE_CFLAGS -Wall -Wformat-security"