From 1feea0961956d9ac4db43756fce0f2acf7442e13 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 3 Jan 2011 16:47:41 +0100 Subject: [PATCH] Shorten git revision id --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1c954f4..66b794c 100644 --- 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 -- 2.26.2