X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=4988aa9e62f88bfc7544ad04c75e0a0a2bdb0d89;hb=7a96a40be44ee53ee525b80d0eaf4233a07a56a5;hp=6605bf95ad6d8c8e261c23980e4df39b6875628c;hpb=c141039755df5bd7fb0504c4e7f20d1fe5a1786f;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 6605bf95a..4988aa9e6 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]) @@ -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 getrandom + 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])