From 2e8c7f52430652afbad48de48094c01b46c9b40d Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 16 Feb 2016 15:21:43 +0000 Subject: [PATCH] Prints dump time --- configure.ac | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 4a01fa5..63fe5b4 100644 --- a/configure.ac +++ b/configure.ac @@ -41,6 +41,13 @@ AC_MSG_RESULT(no) fi +#detect commit version and date +#- ["Trisurf $VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"], +# ["Trisurf (commit `cd $srcdir && git log -1 --format=format:%h`) on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"], +AC_DEFINE_UNQUOTED(TS_VERSION, + ["Trisurf (commit `git describe --abbrev=6 --dirty --always --tags`) build on `date` @`hostname`."], + [A string containing the version number]) + # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC -- Gitblit v1.9.3