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 | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 2ebed26..63fe5b4 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,9 @@ AC_CHECK_LIB([gslcblas],[cblas_dgemm]) AC_CHECK_LIB([gsl],[gsl_blas_dgemm]) +#AC_CHECK_LIB([xml2],[xmlNodeListGetString]) +PKG_CHECK_MODULES([libxml2], [libxml-2.0]) +AC_CHECK_LIB([z],[deflate]) # Checks for header files. AC_CHECK_HEADERS([stdlib.h string.h]) @@ -38,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