Use babeltrace pkg-config
authorYannick Brosseau <yannick.brosseau@gmail.com>
Mon, 11 Mar 2013 19:18:35 +0000 (15:18 -0400)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Mon, 11 Mar 2013 19:18:35 +0000 (15:18 -0400)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
configure.ac

index 2af9ebecf9e887dda74c320bccadbf32ba85b496..1dc396c10cafa6f23135e75a5254fed1d32c43bb 100644 (file)
@@ -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"
This page took 0.025307 seconds and 4 git commands to generate.