Skip to content
Snippets Groups Projects
Commit 0f4a5a1f authored by Christian Engwer's avatar Christian Engwer
Browse files

fix superlu-dist path detection

[[Imported from SVN: r6511]]
parent f01096f4
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,16 @@ AC_DEFUN([_slu_dist_lib_path],
my_include_path=include/superludist
my_lib_path=lib
my_slu_found=yes
ls $1/$my_include_path/$2
if test ! -f "$1/$my_include_path/$2" ; then
#Try to find headers under superlu
my_include_path=include
if test ! -f "$with_superlu/$my_include_path/$2" ; then
ls $1/$my_include_path/$2
if test ! -f "$with_superlu_dist/$my_include_path/$2" ; then
my_include_path=SRC
ls $1/$my_include_path/$2
my_lib_path=""
if test ! -f "$with_superlu/$my_include_path/$2"; then
if test ! -f "$with_superlu_dist/$my_include_path/$2"; then
my_slu_found=no
fi
fi
......@@ -72,7 +75,7 @@ AC_DEFUN([DUNE_PATH_SUPERLU_DIST],[
# Search in default locations
_slu_dist_search_default
])
AC_MSG_RESULT([$with_superlu_dist/$my_include_path])
AC_ARG_WITH([super_lu_dist_lib],
[AC_HELP_STRING([--with-superlu-dist-lib],[The name of the static SuperLUDist library to link to. By default the shared library with the name superlu-mpi is tried])],
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment