Whamcloud - gitweb
New tag 2.7.65
[fs/lustre-release.git] / lustre / autoconf / lustre-version.ac
1 m4_define([LUSTRE_MAJOR],[2])
2 m4_define([LUSTRE_MINOR],[7])
3 m4_define([LUSTRE_PATCH],[65])
4 m4_define([LUSTRE_FIX],[0])
5
6 dnl # liblustre delta is 0.0.1.32 , next version with fixes is ok, but
7 dnl # after following release candidate/beta would spill this warning already.
8 m4_define([LUSTRE_VER_ALLOWED_OFFSET],["OBD_OCD_VERSION(0, 0, 1, 32)"])
9
10 dnl # linux lustre delta is 0.4.0.0 , next stable release version is ok
11 m4_define([LUSTRE_CLI_VER_OFFSET_WARN],["OBD_OCD_VERSION(0, 4, 50, 0)"])
12
13 dnl # User editable part ends here. -----------------------------------------
14
15 m4_pattern_allow(AC_LUSTRE)
16 m4_define([LUSTRE_VERSION],m4_if(LUSTRE_FIX,[0],LUSTRE_MAJOR.LUSTRE_MINOR.LUSTRE_PATCH,LUSTRE_MAJOR.LUSTRE_MINOR.LUSTRE_PATCH.LUSTRE_FIX))
17
18 [AC_LUSTRE_MAJOR]=LUSTRE_MAJOR
19 [AC_LUSTRE_MINOR]=LUSTRE_MINOR
20 [AC_LUSTRE_PATCH]=LUSTRE_PATCH
21 [AC_LUSTRE_FIX]=LUSTRE_FIX
22 [AC_LUSTRE_VERSION_STRING]=LUSTRE_VERSION
23 [AC_LUSTRE_VER_ALLOWED_OFFSET]=LUSTRE_VER_ALLOWED_OFFSET
24 [AC_LUSTRE_CLI_VER_OFFSET_WARN]=LUSTRE_CLI_VER_OFFSET_WARN
25
26 AC_SUBST([AC_LUSTRE_MAJOR])
27 AC_SUBST([AC_LUSTRE_MINOR])
28 AC_SUBST([AC_LUSTRE_PATCH])
29 AC_SUBST([AC_LUSTRE_FIX])
30 AC_SUBST([AC_LUSTRE_VERSION_STRING])
31 AC_SUBST([AC_LUSTRE_VER_ALLOWED_OFFSET])
32 AC_SUBST([AC_LUSTRE_CLI_VER_OFFSET_WARN])