X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=4a0673e768535d1bc53be2c555e356cd209a8035;hb=54a0adbf3cf5cd691d57b9ebaef083cad30273e1;hp=6020596a1da7d2bbb412f64c68f459bd5e0d6776;hpb=aaa3a193283fb0253341028bf88a6fbe9371f522;p=lttng-tools.git 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.