Merge pull request #105 from psi-mankoski/dev

Set VERSION also when the source directory is a git submodule using a "....
This commit is contained in:
Jason Evans 2014-08-11 17:53:40 -07:00
commit dd03242da9

View File

@ -1029,8 +1029,8 @@ dnl ============================================================================
dnl jemalloc configuration.
dnl
dnl Set VERSION if source directory has an embedded git repository.
if test -d "${srcroot}.git" ; then
dnl Set VERSION if source directory has an embedded git repository or is a git submodule.
if test -e "${srcroot}.git" ; then
git describe --long --abbrev=40 > ${srcroot}VERSION
fi
jemalloc_version=`cat ${srcroot}VERSION`