Whamcloud - gitweb
2.0.0 Service Tags Product IDs.
[fs/lustre-release.git] / lustre / autoconf / lustre-version.ac
1 m4_define([LUSTRE_MAJOR],[1])
2 m4_define([LUSTRE_MINOR],[9])
3 m4_define([LUSTRE_PATCH],[50])
4 m4_define([LUSTRE_FIX],[0])
5
6 dnl # don't forget to update the service tags info
7 m4_define([CLIENT_URN],["LUSTRE-200-CLT"])
8 m4_define([MDS_URN],["LUSTRE-200-MDS"])
9 m4_define([MGS_URN],["LUSTRE-200-MGS"])
10 m4_define([OSS_URN],["LUSTRE-200-OSS"])
11
12 dnl # liblustre delta is 0.0.1.32 , next version with fixes is ok, but
13 dnl # after following release candidate/beta would spill this warning already.
14 m4_define([LUSTRE_VER_ALLOWED_OFFSET],["OBD_OCD_VERSION(0,0,1,32)"])
15 m4_define([LUSTRE_LIB_VER_OFFSET_WARN],["OBD_OCD_VERSION(0,0,1,32)"])
16
17 dnl # linux lustre delta is 0.2.0.0 , next major release version is ok
18 m4_define([LUSTRE_CLI_VER_OFFSET_WARN],["OBD_OCD_VERSION(0,2,0,0)"])
19
20 dnl # User editable part ends here. -----------------------------------------
21
22 m4_pattern_allow(AC_LUSTRE)
23 m4_define([LUSTRE_VERSION],m4_if(LUSTRE_FIX,[0],LUSTRE_MAJOR.LUSTRE_MINOR.LUSTRE_PATCH,LUSTRE_MAJOR.LUSTRE_MINOR.LUSTRE_PATCH.LUSTRE_FIX))
24
25 [AC_LUSTRE_MAJOR]=LUSTRE_MAJOR
26 [AC_LUSTRE_MINOR]=LUSTRE_MINOR
27 [AC_LUSTRE_PATCH]=LUSTRE_PATCH
28 [AC_LUSTRE_FIX]=LUSTRE_FIX
29 [AC_LUSTRE_VERSION_STRING]=LUSTRE_VERSION
30 [AC_LUSTRE_VER_ALLOWED_OFFSET]=LUSTRE_VER_ALLOWED_OFFSET
31 [AC_LUSTRE_LIB_VER_OFFSET_WARN]=LUSTRE_LIB_VER_OFFSET_WARN
32 [AC_LUSTRE_CLI_VER_OFFSET_WARN]=LUSTRE_CLI_VER_OFFSET_WARN
33 [AC_LUSTRE_CLIENT_URN]=CLIENT_URN
34 [AC_LUSTRE_MGS_URN]=MGS_URN
35 [AC_LUSTRE_MDS_URN]=MDS_URN
36 [AC_LUSTRE_OSS_URN]=OSS_URN
37
38 AC_SUBST([AC_LUSTRE_MAJOR])
39 AC_SUBST([AC_LUSTRE_MINOR])
40 AC_SUBST([AC_LUSTRE_PATCH])
41 AC_SUBST([AC_LUSTRE_FIX])
42 AC_SUBST([AC_LUSTRE_VERSION_STRING])
43 AC_SUBST([AC_LUSTRE_VER_ALLOWED_OFFSET])
44 AC_SUBST([AC_LUSTRE_LIB_VER_OFFSET_WARN])
45 AC_SUBST([AC_LUSTRE_CLI_VER_OFFSET_WARN])
46 AC_SUBST([AC_LUSTRE_CLIENT_URN])
47 AC_SUBST([AC_LUSTRE_MDS_URN])
48 AC_SUBST([AC_LUSTRE_MGS_URN])
49 AC_SUBST([AC_LUSTRE_OSS_URN])