Mercurial > dwindows
diff configure.in @ 1160:924c8087a755
Attempt to use the subversion revision number as the sub version number.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 16 Sep 2011 06:39:56 +0000 |
parents | 641aa6941b2a |
children | 52e3aa735bdb |
line wrap: on
line diff
--- a/configure.in Thu Sep 15 21:28:23 2011 +0000 +++ b/configure.in Fri Sep 16 06:39:56 2011 +0000 @@ -32,6 +32,12 @@ if test x"$MAKE" = x; then AC_CHECK_PROG(MAKE, make, make) fi +AC_CHECK_PROG(SVNVERSION, svnversion, svnversion) +if test x"$SVNVERSION" = x; then + SVNVERSION=0 +else + SVNVERSION="\` $SVNVERSION -n . | tr -d M \`" +fi AC_PROG_INSTALL