From: Yannick Brosseau Date: Tue, 6 Mar 2012 22:32:27 +0000 (-0500) Subject: Add babeltrace libs to configure script X-Git-Tag: v1.5-beta1~84 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fac33835d9bb5341be29c151405ba93dacc2d16f;p=lttv.git Add babeltrace libs to configure script Signed-off-by: Yannick Brosseau --- diff --git a/configure.ac b/configure.ac index 58af406b..df558459 100644 --- a/configure.ac +++ b/configure.ac @@ -122,8 +122,12 @@ PKG_CHECK_MODULES(GMODULE, [$pkg_modules]) pkg_modules="gobject-2.0 >= 2.0.0" PKG_CHECK_MODULES(GOBJECT, [$pkg_modules]) -LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS" +# Todo add test for babeltrace pkg-config +BABELTRACE_LIBS="-lbabeltrace -lbabeltrace-ctf" + +LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS $BABELTRACE_LIBS" PACKAGE_CFLAGS="$GTK_CFLAGS $GOBJECT_CFLAGS $GMODULE_CFLAGS -Wall -Wformat-security" + MODULE_CFLAGS="$PACKAGE_CFLAGS -fvisibility=hidden" MODULE_LDFLAGS="-module -avoid-version" AC_SUBST([PACKAGE_CFLAGS])