print hg revid

--HG--
branch : fuzz
This commit is contained in:
Matt Johnston 2018-02-21 21:59:52 +08:00
parent 05f4e29a52
commit 573838a027

View File

@ -9,6 +9,12 @@ AC_PREREQ(2.59)
AC_INIT
AC_CONFIG_SRCDIR(buffer.c)
# Record which revision is being built
if which -s hg && test -d "$srcdir/.hg"; then
hgrev=`hg id -i -R "$srcdir"`
echo "Source directory Mercurial base revision $hgrev"
fi
# Checks for programs.
AC_PROG_CC