diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-21 21:59:52 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-21 21:59:52 +0800 |
commit | 573838a0278e56225bf2a4a1e386105525a6a91a (patch) | |
tree | d2d4198e468f0ae5df4fc1bddbddc776b3504b4e /configure.ac | |
parent | 05f4e29a52ff806620b1f80ab59797ac1bc8415d (diff) |
print hg revid
--HG--
branch : fuzz
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9f92328..6a61d82 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |