exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit ad4759b46ab6492180c5abd7c164d94ad9125898
parent 515d1cf890533de52466b799971ad5a238bea8b6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 15 Apr 2015 16:01:25 +0200

use git versions, not git-svn versions

Diffstat:
Mconfigure.ac | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -200,19 +200,19 @@ AM_CONDITIONAL([USE_COVERAGE], [test "x$use_gcov" = "xyes"]) # version info AC_PATH_PROG(gitcommand, git) AC_MSG_CHECKING(for source being under a VCS) -gitsvn_version= +git_version= AS_IF([test ! "X$gitcommand" = "X"], [ - gitsvn_version=$(cd $srcdir ; git log -1 2>/dev/null | grep "git-svn-id" | sed -e 's/.*@\([[0-9]]\+\) .*/\1/') + git_version=$(cd $srcdir ; git rev-list --full-history --all --abbrev-commit | head -n 1 2>/dev/null) ]) -AS_IF([test "X$gitsvn_version" = "X"], +AS_IF([test "X$git_version" = "X"], [ vcs_name="no" vcs_version="\"release\"" ], [ vcs_name="yes, git-svn" - vcs_version="\"svn-r$gitsvn_version\"" + vcs_version="\"git-$git_version\"" ]) AC_MSG_RESULT($vcs_name)