Skip to content
Snippets Groups Projects
Commit 1210bac7 authored by Markus Blatt's avatar Markus Blatt
Browse files

unset variables if directory is not there.

Use absolute path for $PARMETIS.


[[Imported from SVN: r6417]]
parent 439c6f70
Branches
Tags
No related merge requests found
......@@ -23,15 +23,26 @@ AC_DEFUN([DUNE_PATH_PARMETIS],[
# get absolute path
with_parmetis=`eval cd $withval 2>&1 && pwd`
AC_MSG_RESULT(yes)
else
with_parmetis="no"
AC_MSG_RESULT(no)
fi
else
AC_MSG_RESULT(no)
fi
fi
],
[
if test -n "$PARMETIS" ; then
with_parmetis=$PARMETIS
if test -d "$PARMETIS" ; then
# get absolute path
with_parmetis=`eval cd $PARMETIS 2>&1 && pwd`
PARMETIS=""
AC_MSG_RESULT(yes)
else
PARMETIS=""
with_parmetis=no
AC_MSG_RESULT(no)
fi
else
with_parmetis=/usr/
include_path=include
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment