Whamcloud - gitweb
LU-7699 build: Convert lustre_ver.h.in into a static .h file 11/18111/13
authorChristopher J. Morrone <morrone2@llnl.gov>
Sun, 24 Jan 2016 00:44:48 +0000 (16:44 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Apr 2016 02:26:38 +0000 (02:26 +0000)
commit6e84dbce05959e854d886772841a5d6d0690eb65
tree92ca04b9d035d819c8e835220e9d319de8d8872e
parent5764a8ce591e7f62cad2ee95b7041c115a1cd0f6
LU-7699 build: Convert lustre_ver.h.in into a static .h file

The AC_LUSTRE_{MAJOR,MINOR,PATCH,FIX} autoconf output values are
no longer necessary.  We can instead use AC_DEFINE to set the
LUSTRE_{MAJOR,MINOR,PATCH,FIX} CPP macros directly.  As a result,
the lustre_ver.h file no longer needs to be generated by autoconf
and it can be made into a static file.

At the same time we set LUSTRE_VERSION_STRING, even though it
is not strictly needed, to avoid additional divergence from
the client code in the upstream Linux kernel staging area.

Change-Id: I6b0364a7af1869beb6acedc63c034565af00ef06
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/18111
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
config/lustre-version.m4
configure.ac
contrib/lbuild/lbuild
lustre/autoconf/lustre-core.m4
lustre/include/.gitignore
lustre/include/lustre_ver.h [moved from lustre/include/lustre_ver.h.in with 70% similarity]