X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=bd49df7ba12a20cc13a0a1f2e72b6d8d711ae77b;hb=ceb6ba5100c73f6a2b39475c89f3317d64fc9b48;hp=7d8839543eb03f42b3d3061472b17b4e0c7314a7;hpb=68270f0f604eefdc89583950a7cfa02fe7a0cab5;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 7d8839543..bd49df7ba 100644 --- a/configure.ac +++ b/configure.ac @@ -171,17 +171,17 @@ AM_CONDITIONAL([LTTNG_BUILD_WITH_LIBUUID], [test "x$have_libuuid" = "xyes"]) AM_CONDITIONAL([LTTNG_BUILD_WITH_LIBC_UUID], [test "x$have_libc_uuid" = "xyes"]) # URCU library version needed or newer -liburcu_version=">= 0.7.2" +liburcu_version=">= 0.8.0" # Check liburcu needed function calls AC_CHECK_DECL([cds_list_add], [], [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] ) -AC_CHECK_DECL([cds_wfq_init], [], - [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] +AC_CHECK_DECL([cds_wfcq_init], [], + [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] ) -AC_CHECK_DECL([cds_wfq_dequeue_blocking], [], - [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] +AC_CHECK_DECL([cds_wfcq_dequeue_blocking], [], + [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] ) AC_CHECK_DECL([futex_async], [], [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] @@ -259,6 +259,15 @@ AC_CHECK_LIB([c], [open_memstream], ] ) +AC_ARG_ENABLE([git-version], + [AC_HELP_STRING([--disable-git-version], + [Do not use the git version for the build])], + [disable_git_version=yes], [disable_git_version=no] +) +if test "x${disable_git_version:-no}" = xno; then + AC_DEFINE_UNQUOTED([GIT_SOURCE], 1, [Disable git version.]) +fi + # For Python # SWIG version needed or newer: swig_version=2.0.0