* configure.ac (BUILD_REVISION): Use git_revision.
authorWerner Koch <wk@g10code.com>
Thu, 23 Dec 2010 14:19:51 +0000 (15:19 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Dec 2010 14:19:51 +0000 (15:19 +0100)
ChangeLog
configure.ac

index da905cd..dc19f23 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-23  Werner Koch  <wk@g10code.com>
+
+       * configure.ac (BUILD_REVISION): Use git_revision.
+
 2010-08-19  Werner Koch  <wk@g10code.com>
 
        * configure.ac: Define GPG_ERR_ENABLE_ERRNO_MACROS. Remove
index 13792c6..c6bff37 100644 (file)
@@ -55,7 +55,7 @@ LIBGCRYPT_CONFIG_API_VERSION=1
 NEED_GPG_ERROR_VERSION=1.8
 
 is_development_version=my_issvn
-BUILD_REVISION=svn_revision
+BUILD_REVISION=m4_if(git_revision,[],[svn_revision],[git_revision])
 PACKAGE=$PACKAGE_NAME
 VERSION=$PACKAGE_VERSION