comparison configure.ac @ 1530:63fa53d3b6c7 fuzz

print hg revid
author Matt Johnston <matt@ucc.asn.au>
date Wed, 21 Feb 2018 21:59:52 +0800
parents 5916af64acd4
children 61a793b6e471
comparison
equal deleted inserted replaced
1529:66a1a2547133 1530:63fa53d3b6c7
6 # Huge thanks to them for dealing with the horrible platform-specifics :) 6 # Huge thanks to them for dealing with the horrible platform-specifics :)
7 7
8 AC_PREREQ(2.59) 8 AC_PREREQ(2.59)
9 AC_INIT 9 AC_INIT
10 AC_CONFIG_SRCDIR(buffer.c) 10 AC_CONFIG_SRCDIR(buffer.c)
11
12 # Record which revision is being built
13 if which -s hg && test -d "$srcdir/.hg"; then
14 hgrev=`hg id -i -R "$srcdir"`
15 echo "Source directory Mercurial base revision $hgrev"
16 fi
11 17
12 # Checks for programs. 18 # Checks for programs.
13 AC_PROG_CC 19 AC_PROG_CC
14 20
15 if test -z "$LD" ; then 21 if test -z "$LD" ; then