We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62cda9 commit 94e1345Copy full SHA for 94e1345
configure.ac
@@ -14,6 +14,7 @@
14
m4_define([libnl_major_version], [3])
15
m4_define([libnl_minor_version], [2])
16
m4_define([libnl_micro_version], [25])
17
+m4_define([libnl_git_sha], [m4_esyscmd([ ( [ -d ./.git/ ] && [ "$(readlink -f ./.git/)" = "$(readlink -f "$(git rev-parse --git-dir 2>/dev/null)" 2>/dev/null)" ] && git rev-parse --verify -q HEAD 2>/dev/null ) || true ])])
18
19
20
# The following explanation may help to understand the above rules a bit
@@ -55,6 +56,7 @@ MIN_VERSION=libnl_minor_version
55
56
AC_SUBST(MIN_VERSION)
57
MIC_VERSION=libnl_micro_version
58
AC_SUBST(MIC_VERSION)
59
+LIBNL_GIT_SHA=libnl_git_sha
60
LIBNL_VERSION=libnl_version
61
AC_SUBST(LIBNL_VERSION)
62
0 commit comments