projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: git version build system integration (v2)
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index bd49df7ba12a20cc13a0a1f2e72b6d8d711ae77b..a8e04f5ab5cd39b44ba4edaf5be4a5e4629d3f39 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-262,11
+262,11
@@
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])],
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
]
+ [
have_git_version=$enableval], [have_git_version=yes
]
)
)
-if test "x${disable_git_version:-no}" = xno; then
- AC_DEFINE_UNQUOTED([GIT_SOURCE], 1, [Disable git version.])
-fi
+
+AM_CONDITIONAL([LTTNG_TOOLS_BUILD_GIT_SOURCE],
+ [test "x${have_git_version}" = "xyes"])
# For Python
# SWIG version needed or newer:
# For Python
# SWIG version needed or newer:
This page took
0.023917 seconds
and
4
git commands to generate.