Skip to content
Snippets Groups Projects
Commit a93818c9 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[superlu(-dist).m4] Fix case --with-superlu=yes, cf FS#1242.

Thanks for the patch to Bård Skaflestad.

[[Imported from SVN: r1778]]
parent 03cfaf0b
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,9 @@ Copyright holders:
2011 Elias Pipping
2007 Sreejith Pulloor Kuttanikkad
2009 Atgeirr Rasmussen
2004--2012 Oliver Sander
2008--2012 Uli Sack
2004--2012 Oliver Sander
2013 Bård Skaflestad
2006--2010 Martin Weiser
2011--2012 Matthias Wohlmuth
......
......@@ -57,12 +57,12 @@ AC_DEFUN([DUNE_PATH_SUPERLU_DIST],[
[AC_HELP_STRING([--with-superlu-dist],[user defined path to SuperLUDist library])],
[dnl
if test "$withval" != no ; then
# get absolute path
with_superlu_dist=`eval cd $withval 2>&1 && pwd`
if test "$withval" = yes; then
# Search in default locations
_slu_dist_search_default
else
# get absolute path
with_superlu_dist=`eval cd $withval 2>&1 && pwd`
# Search for the headers in the specified location
_slu_dist_lib_path("$with_superlu_dist", "superlu_ddefs.h")
fi
......
......@@ -152,12 +152,12 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[
[AC_HELP_STRING([--with-superlu],[user defined path to SuperLU library])],
[dnl
if test x"$withval" != xno ; then
# get absolute path
with_superlu=`eval cd $withval 2>&1 && pwd`
if test x"$withval" = xyes; then
# Search in default locations
_slu_search_default
else
# get absolute path
with_superlu=`eval cd $withval 2>&1 && pwd`
# Search for the headers in the specified location
_slu_search_versions(["$with_superlu"])
fi
......
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