From 25654d9bd954cab158e5d3c043e07e3bbaa8a3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kl=C3=B6fkorn?= <robertk@dune-project.org> Date: Fri, 14 Sep 2007 15:26:23 +0000 Subject: [PATCH] added ALUGRID to version variable to avoid futher errors. [[Imported from SVN: r4992]] --- m4/alugrid.m4 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/m4/alugrid.m4 b/m4/alugrid.m4 index c321bf0c9..3c516442e 100644 --- a/m4/alugrid.m4 +++ b/m4/alugrid.m4 @@ -28,16 +28,16 @@ if test x$with_alugrid != x && test x$with_alugrid != xno ; then # expand tilde / other stuff ALUGRIDROOT=`cd $with_alugrid && pwd` - VERSIONCHECK=$ALUGRIDROOT/bin/alugridversion + ALUGRID_VERSIONCHECK=$ALUGRIDROOT/bin/alugridversion ## check version number - NEEDEDVERSION=1.0 - - echo -n "checking ALUGrid version >= $NEEDEDVERSION... " - if test -f $VERSIONCHECK; then - ALUVERSION=`$VERSIONCHECK -c $NEEDEDVERSION` - if test "x$ALUVERSION" != "x-1"; then - VERSIONNO=`$VERSIONCHECK -v` - echo "yes (ALUGrid-$VERSIONNO)" + NEEDEDALUGRID_VERSION=1.0 + + echo -n "checking ALUGrid version >= $NEEDEDALUGRID_VERSION... " + if test -f $ALUGRID_VERSIONCHECK; then + ALUGRID_VERSION=`$ALUGRID_VERSIONCHECK -c $NEEDEDALUGRID_VERSION` + if test "x$ALUGRID_VERSION" != "x-1"; then + ALUGRID_VERSIONNO=`$ALUGRID_VERSIONCHECK -v` + echo "yes (ALUGrid-$ALUGRID_VERSIONNO)" else AC_MSG_ERROR([ALUGrid version is too old!]) fi -- GitLab