diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index f07db68..1e19fe8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,10 @@ dnl ---------------------------------------------------------------- -dnl append SVN revision to the version number +dnl append git revision to the version number -dnl determine the svn revision number -define([svnversion], esyscmd([sh -c "echo -n 'svn'; svnversion|tr -d '\n'"])) +dnl determine the git revision number +define([gitversion], esyscmd([sh -c "echo -n 'git'; git rev-parse HEAD | tr -d '\n'"])) -AC_INIT([osirion], [0.2.6-svnversion]) +AC_INIT([osirion], [0.2.6-gitversion]) AC_CONFIG_HEADERS(src/config.h) |