projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fd3ef5
)
Shorten git revision id
author
Werner Koch
<wk@gnupg.org>
Mon, 3 Jan 2011 15:47:41 +0000
(16:47 +0100)
committer
Werner Koch
<wk@gnupg.org>
Mon, 3 Jan 2011 15:47:41 +0000
(16:47 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 1c954f4649eb95f321857a8a8e8eba69d2035162..66b794cc423711d8aa38f10710fa941e2b2288e7 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-65,7
+65,8
@@
NEED_LIBASSUAN_API=2
NEED_LIBASSUAN_VERSION=2.0.0
-BUILD_REVISION=m4_if(git_revision,[],[svn_revision],[git_revision])
+m4_define([git_brevis],m4_esyscmd(printf "%u" 0x[]m4_substr(git_revision,0,4)))
+BUILD_REVISION=m4_if(git_revision,[],[svn_revision],[git_brevis])
PACKAGE=$PACKAGE_NAME
VERSION=$PACKAGE_VERSION