From 5e08f27fac51e8f7261cd4484ab8878befac8fe1 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 08 Mar 2019 20:08:54 +0000 Subject: [PATCH] Constant area plugin done --- configure.ac | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2ebed26..7bfb1de 100644 --- a/configure.ac +++ b/configure.ac @@ -2,13 +2,14 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.67]) -AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) +AC_INIT([trisurf_ng], [1.0], [samo.penic@fe.uni-lj.si]) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE # Checks for programs. AC_PROG_CC - +LT_INIT +AC_PROG_LIBTOOL # Checks for libraries. # FIXME: Replace `main' with a function in `-lconfuse': AC_CHECK_LIB([confuse], [cfg_parse]) @@ -17,6 +18,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]) @@ -26,7 +30,7 @@ dnl Check if we have enable debug support. AC_MSG_CHECKING(whether to enable debugging) -debug_default="yes" +debug_default="no" AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=$debug_default]],, enable_debug=$debug_default) dnl Yes, shell scripts can be used @@ -38,6 +42,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 @@ -45,5 +53,6 @@ AC_CONFIG_FILES([Makefile src/Makefile - test/Makefile]) + src/plugins/Makefile + ]) AC_OUTPUT -- Gitblit v1.9.3