X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=17e6b67e02b339a9a28ef693f834442d94cc8ec4;hp=cba96c1afd89d9930beafe3f76b934c60b635ad6;hb=173af62f4804133d4a7f45e34b6f72126f3eca5f;hpb=953192ba6eb2118c22bcfcb4bcd813f141b407e7 diff --git a/configure.ac b/configure.ac index cba96c1af..17e6b67e0 100644 --- a/configure.ac +++ b/configure.ac @@ -140,6 +140,20 @@ AC_CHECK_LIB([dl], [dlopen], AM_CONDITIONAL([LTTNG_TOOLS_BUILD_WITH_LIBDL], [test "x$have_libdl" = "xyes"]) AM_CONDITIONAL([LTTNG_TOOLS_BUILD_WITH_LIBC_DL], [test "x$have_libc_dl" = "xyes"]) +# Check for fmemopen +AC_CHECK_LIB([c], [fmemopen], +[ + AC_DEFINE_UNQUOTED([LTTNG_HAVE_FMEMOPEN], 1, [Has fmemopen support.]) +] +) + +# Check for open_memstream +AC_CHECK_LIB([c], [open_memstream], +[ + AC_DEFINE_UNQUOTED([LTTNG_HAVE_OPEN_MEMSTREAM], 1, [Has open_memstream support.]) +] +) + # Option to only build the consumer daemon and its libraries AC_ARG_WITH([consumerd-only], AS_HELP_STRING([--with-consumerd-only],[Only build the consumer daemon [default=no]]), @@ -203,6 +217,7 @@ AC_CONFIG_FILES([ tests/Makefile tests/kernel/Makefile tests/tools/Makefile + tests/tools/streaming/Makefile tests/ust/Makefile tests/ust/nprocesses/Makefile tests/ust/high-throughput/Makefile