From a3f6b73f3f829a7abf3faa0e5e96d95200179529 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 15 May 2016 19:20:59 +0000 Subject: [PATCH] Added function that finds trisurf version from its executable output string. It can be used for outputting info --- configure.ac | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 791a930..f43881a 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,12 @@ # FIXME: Replace `main' with a function in `-lm': AC_CHECK_LIB([m], [pow]) +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]) @@ -35,6 +41,10 @@ AC_MSG_RESULT(no) fi +#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