Commit 5309a6ce authored by prudhomm's avatar prudhomm
Browse files

* check pdflatex presence

* check grace_np library and header presence
* added preliminary AutoTest support(more coming real soon)
* bump up version to 0.2.90
parent 1a8e8958
# -*- autoconf -*-
#
#
AC_INIT(lifev, 0.2.0, lifev-dev@webmail.mate.polimi.it)
AC_INIT([lifev], [0.2.90], [lifev-dev@webmail.mate.polimi.it])
LIFEV_MAJOR_VERSION=0
LIFEV_MINOR_VERSION=2
LIFEV_MICRO_VERSION=0
LIFEV_EXTRA_VERSION=-pre1
LIFEV_MICRO_VERSION=90
LIFEV_EXTRA_VERSION=
AC_SUBST(LIFEV_MAJOR_VERSION)
AC_SUBST(LIFEV_MINOR_VERSION)
AC_SUBST(LIFEV_MICRO_VERSION)
......@@ -16,12 +16,15 @@ LIFEV_PACKAGE=lifev
LIFEV_VERSION=${LIFEV_MAJOR_VERSION}.${LIFEV_MINOR_VERSION}.${LIFEV_MICRO_VERSION}${LIFEV_EXTRA_VERSION}
PACKAGE=$LIFEV_PACKAGE
VERSION=$LIFEV_VERSION
AC_SUBST(LIFEV_PACKAGE)
AC_SUBST(LIFEV_VERSION)
AC_CONFIG_AUX_DIR(admin)
dnl What the current system and host
......@@ -29,7 +32,7 @@ AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(${LIFEV_PACKAGE}, ${LIFEV_VERSION} )
AM_INIT_AUTOMAKE([foreign check-news 1.7.8 dist-bzip2])
AM_CONFIG_HEADER(lifeconfig.h)
# checks for a C compiler
......@@ -40,6 +43,9 @@ AC_PROG_F77( g77-3.3 g77-3.2 g77 )
AC_PROG_F77_C_O
AC_PROG_LIBTOOL
# pdflatex
AC_CHECK_PROG(PDFLATEX, pdflatex,[pdflatex],[no])
# doxygen
AC_CHECK_PROG(DOXYGEN, doxygen, [doxygen], [no-doxygen] )
AC_CHECK_PROG(LIFE_HAS_DOT, dot, [yes] )
......@@ -102,6 +108,12 @@ AM_CONDITIONAL(HAVE_PETSC, test "x$petsc_libs" != "x" )
dnl parmetis
AC_CHECK_PARMETIS
dnl grace
AC_CHECK_HEADERS([grace_np.h])
AC_CHECK_LIB([grace_np],GraceClose,[grace_libs="-lgrace_np"],[grace_libs=""])
AC_SUBST(grace_libs)
all_includes="-I\$(top_srcdir)/life/lifecore -I\$(top_srcdir)/life/lifearray -I\$(top_srcdir)/life/lifemesh -I\$(top_srcdir)/life/lifealg -I\$(top_srcdir)/life/lifefem -I\$(top_srcdir)/life/lifesolver -I\$(top_srcdir)/life/lifefilters"
AC_SUBST(all_includes)
......@@ -126,3 +138,7 @@ prefix=${prefix:-"/usr"}
if test "x${prefix}" = "xNONE"; then
prefix=/usr
fi
dnl testdir
AC_CONFIG_TESTDIR(testsuite)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment