diff options
Diffstat (limited to 'm4/ac_espik_version.m4')
-rw-r--r-- | m4/ac_espik_version.m4 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/m4/ac_espik_version.m4 b/m4/ac_espik_version.m4 index 4f355c4..627c1b1 100644 --- a/m4/ac_espik_version.m4 +++ b/m4/ac_espik_version.m4 @@ -1,12 +1,8 @@ AC_DEFUN([AC_ESPIK_VERSION], [ - AC_MSG_CHECKING(for git commit) + AC_MSG_CHECKING(for version) - if test `eval git hash-object .git/HEAD`; then - GITVERSION=`git hash-object .git/HEAD` - else - GITVERSION=`date +%Y%m%d` - fi + GITVERSION=$(sh/get_version.sh) AC_MSG_RESULT($GITVERSION) |