diff options
author | Werner Koch <[email protected]> | 2010-03-15 11:15:45 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-03-15 11:15:45 +0000 |
commit | fb2ba98963beea249474f5d6d7345cf9b4b7f570 (patch) | |
tree | 3c9b25d63f90a71caec5685fca945341d54bef9d /configure.ac | |
parent | Use a custom log handler for libassuan. (diff) | |
download | gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.tar.gz gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.zip |
Finished the bulk of changes to use estream in most places instead of
stdio.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c02fb1423..982a5923e 100644 --- a/configure.ac +++ b/configure.ac @@ -29,8 +29,11 @@ m4_define([my_issvn], [yes]) m4_define([svn_revision], m4_esyscmd([printf "%d" $(svn info 2>/dev/null \ | sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)])) +m4_define([git_revision], m4_esyscmd([git branch -v 2>/dev/null \ + | awk '/^\* / {printf "%s",$3}'])) AC_INIT([gnupg], - [my_version[]m4_if(my_issvn,[yes],[-svn[]svn_revision])], + [my_version[]m4_if(my_issvn,[yes], + [m4_if(git_revision,[],[-svn[]svn_revision],[-git[]git_revision])])], [http://bugs.gnupg.org]) # Set development_version to yes if the minor number is odd or you # feel that the default check for a development version is not |