X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=4a0673e768535d1bc53be2c555e356cd209a8035;hp=6020596a1da7d2bbb412f64c68f459bd5e0d6776;hb=b67cd6f052bb21a3c3c72840a9e55598951ba632;hpb=33e801a975452b5602ce22c5efa694577d78c84e diff --git a/configure.ac b/configure.ac index 6020596a1..4a0673e76 100644 --- a/configure.ac +++ b/configure.ac @@ -703,6 +703,10 @@ AM_CONDITIONAL([BUILD_LIB_SESSIOND_COMM], [test x$build_lib_sessiond_comm = xyes AM_CONDITIONAL([BUILD_LIB_TESTPOINT], [test x$build_lib_testpoint = xyes]) AM_CONDITIONAL([BUILD_LIB_UST_CONSUMER], [test x$build_lib_ust_consumer = xyes]) +# check for pgrep +AC_PATH_PROG([PGREP], [pgrep], [no]) +AM_CONDITIONAL([HAS_PGREP], [test "x$PGREP" != "xno"]) + if test ! -f "$srcdir/src/lib/lttng-ctl/filter/filter-parser.h"; then if test x"$(basename "$YACC")" != "xbison -y"; then AC_MSG_ERROR([[bison not found and is required when building from git.