Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1159:1e0cd8dafdfb | 1160:924c8087a755 |
---|---|
29 AC_PROG_CXX | 29 AC_PROG_CXX |
30 | 30 |
31 AC_CHECK_PROG(MAKE, gmake, gmake) | 31 AC_CHECK_PROG(MAKE, gmake, gmake) |
32 if test x"$MAKE" = x; then | 32 if test x"$MAKE" = x; then |
33 AC_CHECK_PROG(MAKE, make, make) | 33 AC_CHECK_PROG(MAKE, make, make) |
34 fi | |
35 AC_CHECK_PROG(SVNVERSION, svnversion, svnversion) | |
36 if test x"$SVNVERSION" = x; then | |
37 SVNVERSION=0 | |
38 else | |
39 SVNVERSION="\` $SVNVERSION -n . | tr -d M \`" | |
34 fi | 40 fi |
35 | 41 |
36 AC_PROG_INSTALL | 42 AC_PROG_INSTALL |
37 | 43 |
38 AC_SUBST(MAKE) | 44 AC_SUBST(MAKE) |