diff options
| author | Werner Koch <[email protected]> | 2006-04-08 00:36:51 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-04-08 00:36:51 +0000 |
| commit | e5a03c84f72cd398a0f3c3d38e91e8349e20be77 (patch) | |
| tree | 937a11c86b644513228dbee3f46fe7af77b0bf00 /configure.ac | |
| parent | * memory.c (realloc): Fix compile problem with --enable-m-guard. (diff) | |
| download | gnupg-e5a03c84f72cd398a0f3c3d38e91e8349e20be77.tar.gz gnupg-e5a03c84f72cd398a0f3c3d38e91e8349e20be77.zip | |
See ChangeLog
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 707c2b5de..d2380708f 100644 --- a/configure.ac +++ b/configure.ac @@ -24,9 +24,16 @@ dnl (Process this file with autoconf to produce a configure script.) AC_PREREQ(2.59) min_automake_version="1.9.3" -# Remember to change the version number immediately *after* a release -# and remove the "-cvs" or "rc" suffix immediately *before* a release. -AC_INIT(gnupg, 1.4.4-cvs, [email protected]) +# Remember to change the version number immediately *after* a release. +# Set my_issvn to "yes" for non-released code. Remember to run an +# "svn up" and "autogen.sh" right before creating a distribution. +m4_define([my_version], [1.4.4]) +m4_define([my_issvn], [yes]) + +m4_define([svn_revision], m4_esyscmd([echo -n $((svn info 2>/dev/null \ + || echo 'Revision: 0')|sed -n '/^Revision:/ {s/[^0-9]//gp;q}')])) +AC_INIT([gnupg], my_version[]m4_if(my_issvn,[yes],[-svn[]svn_revision]), + [[email protected]]) # Set development_version to yes if the minor number is odd or you # feel that the default check for a development version is not # sufficient. |
