From 2465e6d63e63db568c8f4ae6d5ea368448dbf4bd Mon Sep 17 00:00:00 2001 From: "Bertrand Jacquin (Beber)" Date: Sun, 5 Feb 2006 00:45:01 +0100 Subject: Better git-version install sh too arrange gitignore --- m4/ac_espik_version.m4 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'm4/ac_espik_version.m4') 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) -- cgit v1.2.3