X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=bd49df7ba12a20cc13a0a1f2e72b6d8d711ae77b;hp=21cfab070411d22ea1c4a79e957594c6df1c61a2;hb=ceb6ba5100c73f6a2b39475c89f3317d64fc9b48;hpb=456b8d40f14be07cca75a9e22ec77976c895d4d5 diff --git a/configure.ac b/configure.ac index 21cfab070..bd49df7ba 100644 --- a/configure.ac +++ b/configure.ac @@ -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