X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=b085af884047557f49dc0000814978ccefe9e83b;hb=dc88217e78259cb6b35fbaf6b85ad5aed6a37023;hp=6697fcd46b8c93bcd02057617c5a45ed3a60d52b;hpb=ef945e4deb2e24b7d7ce05c3289a29a22c6b427d;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 6697fcd46..b085af884 100644 --- a/configure.ac +++ b/configure.ac @@ -171,6 +171,9 @@ AM_CONDITIONAL([HAVE_OBJCOPY], [test "x$OBJCOPY" != "x"]) AC_PATH_PROG([PGREP], [pgrep]) AM_CONDITIONAL([HAVE_PGREP], [test "x$PGREP" != "x"]) +AC_PATH_PROG([SHELLCHECK], [shellcheck]) +AM_CONDITIONAL([HAVE_SHELLCHECK], [test "x$SHELLCHECK" != "x"]) + # set $IN_GIT_REPO if we're in the Git repository; the `bootstrap` file # is not distributed in tarballs AS_IF([test -f "$srcdir/bootstrap"], [in_git_repo=yes], [in_git_repo=no]) @@ -300,7 +303,7 @@ AC_CHECK_HEADERS([ \ signal.h stdlib.h sys/un.h sys/socket.h stdlib.h stdio.h \ getopt.h sys/ipc.h sys/shm.h popt.h grp.h arpa/inet.h \ netdb.h netinet/in.h paths.h stddef.h sys/file.h sys/ioctl.h \ - sys/mount.h sys/param.h sys/time.h elf.h + sys/mount.h sys/param.h sys/time.h elf.h sys/random.h sys/syscall.h ]) AM_CONDITIONAL([HAVE_ELF_H], [test x$ac_cv_header_elf_h = xyes]) @@ -312,7 +315,8 @@ AC_CHECK_FUNCS([ \ mkdir munmap putenv realpath rmdir socket strchr strcspn strdup \ strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul \ strtoull dirfd gethostbyname2 getipnodebyname epoll_create1 \ - sched_getcpu sysconf sync_file_range + sched_getcpu sysconf sync_file_range getrandom posix_fadvise \ + arc4random ]) # Check for pthread_setname_np and pthread_getname_np @@ -653,7 +657,7 @@ AM_CONDITIONAL([PYTHON_BINDING], [test "x$enable_python_binding" = xyes]) if test "x$enable_python_binding" = xyes; then AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ]) AS_IF([test x$enable_shared = xno], [ AC_MSG_ERROR([Python bindings require shared libraries.]) ]) - AM_PATH_PYTHON([3.0]) + AM_PATH_PYTHON([3.4]) AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config]) AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config]) @@ -1203,6 +1207,7 @@ AC_CONFIG_FILES([ src/vendor/msgpack/Makefile tests/Makefile tests/destructive/Makefile + tests/meta/Makefile tests/regression/Makefile tests/regression/kernel/Makefile tests/regression/tools/Makefile @@ -1236,6 +1241,7 @@ AC_CONFIG_FILES([ tests/regression/tools/trigger/name/Makefile tests/regression/tools/trigger/hidden/Makefile tests/regression/tools/context/Makefile + tests/regression/tools/client/Makefile tests/regression/ust/Makefile tests/regression/ust/nprocesses/Makefile tests/regression/ust/high-throughput/Makefile @@ -1263,6 +1269,7 @@ AC_CONFIG_FILES([ tests/regression/ust/rotation-destroy-flush/Makefile tests/regression/ust/blocking/Makefile tests/regression/ust/namespaces/Makefile + tests/regression/ust/ust-constructor/Makefile tests/stress/Makefile tests/unit/Makefile tests/unit/ini_config/Makefile @@ -1275,6 +1282,7 @@ AC_CONFIG_FILES([ tests/utils/testapp/gen-kernel-test-events/Makefile tests/utils/testapp/gen-py-events/Makefile tests/utils/testapp/gen-ust-events/Makefile + tests/utils/testapp/gen-ust-events-constructor/Makefile tests/utils/testapp/gen-ust-events-ns/Makefile tests/utils/testapp/gen-syscall-events-callstack/Makefile tests/utils/testapp/gen-ust-nevents/Makefile @@ -1292,6 +1300,7 @@ AC_CONFIG_FILES([tests/regression/ust/python-logging/test_python_logging],[chmod # Inject LTTNG_TOOLS_BUILD_WITH_LIBPFM variable in test script. AC_CONFIG_FILES([tests/perf/test_perf_raw],[chmod +x tests/perf/test_perf_raw]) AC_CONFIG_FILES([tests/regression/ust/ust-dl/test_ust-dl],[chmod +x tests/regression/ust/ust-dl/test_ust-dl]) +AC_CONFIG_FILES([pre-inst-env],[chmod +x pre-inst-env]) AC_OUTPUT