X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=f96d25b7635842f7cb293c2286b8ebef1711b332;hb=refs%2Fheads%2Fperf-raw;hp=fb2b0136f0dd0d5b0345783e26778e26383f5ea7;hpb=ebaf531b307e210afe47741ede85d545cfac1ee4;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index fb2b0136f..f96d25b76 100644 --- a/configure.ac +++ b/configure.ac @@ -467,6 +467,13 @@ AC_CHECK_LIB([c], [open_memstream], ] ) +# check for libpfm +AC_CHECK_LIB([pfm], [pfm_initialize], + [ + have_libpfm=yes + ]) +AM_CONDITIONAL([LTTNG_TOOLS_BUILD_WITH_LIBPFM], [test "x$have_libpfm" = "xyes"]) + AC_ARG_ENABLE([git-version], [AC_HELP_STRING([--disable-git-version], [Do not use the git version for the build])], @@ -1008,6 +1015,7 @@ AC_CONFIG_FILES([ tests/stress/Makefile tests/unit/Makefile tests/unit/ini_config/Makefile + tests/perf/Makefile tests/utils/Makefile tests/utils/tap/Makefile tests/utils/testapp/Makefile