diff --git a/NEWS b/NEWS index 6abf7ef20c09cfc1b60b2eb08876725f9ccf3003..7835892917ae94e6132e293509bec91e1e4c3ab8 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +2015-10-03 + ALBERTA 3.0.2 + + Get rid of libltdl when --disable-fem-toolbox is "active" and get rid + of some compiler warnings when including the stuff into C++ code. + + Some of the basis function implementations had a chance to return + a pointer to a local non-static buffer. + 2014-05-07 ALBERTA 3.0.1 diff --git a/configure.ac b/configure.ac index e48595597803abf6608f7d594d2971d247a35c73..9fa43c3b66afa388f270a28cbd6dece16376ba60 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT([alberta], [3.0.1], [Claus-Justus.Heine@IANS.Uni-Stuttgart.DE]) +AC_INIT([alberta], [3.0.2], [Claus-Justus.Heine@IANS.Uni-Stuttgart.DE]) AC_CONFIG_SRCDIR([alberta/src/Common/alberta.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -299,6 +299,9 @@ else with_blas=no fi +# Check if __attribute__((unused)) is supported +ALBERTA_CHECK_UNUSED + # # Debugging. Should come first because if not set we can forget about # ALBERTA_DEBUG_CFLAGS @@ -616,10 +619,6 @@ AC_DEFINE([SIZEOF_DOF_FREE_UNIT], [SIZEOF_LONG], [size of the integer type used for DOF_FREE_UNIT]) -# Check for libltdl -AC_CHECK_LIB([ltdl],[lt_dlinit]) -AC_CHECK_HEADERS([ltdl.h]) - # try do define HAVE_STRUCT_SIGACTION_SA_SIGACTION for SIGFPE-handler. AC_CHECK_MEMBERS([struct sigaction.sa_sigaction],,,[#include <signal.h>]) @@ -667,10 +666,15 @@ ALBERTA_ENABLE_FLAG([graphics], 1, ALBERTA_USE_GRAPHICS, [SUBST cond define]) + # Check for libltdl + AC_CHECK_LIB([ltdl],[lt_dlinit]) + AC_CHECK_HEADERS([ltdl.h]) else AM_CONDITIONAL(ALBERTA_USE_GRAPHICS, false) AC_SUBST(ALBERTA_USE_GRAPHICS) AC_DEFINE(ALBERTA_USE_GRAPHICS, 0, []) + AC_DEFINE(HAVE_LIBLTDL, 0, []) + AC_DEFINE(HAVE_LTDL_H, 0, []) fi if test "${ALBERTA_USE_GRAPHICS}" = 1; then