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

One should add the lib to prevent undefined symbols when linking.

[[Imported from SVN: r4966]]
parent fca9b366
No related branches found
No related tags found
No related merge requests found
...@@ -40,16 +40,16 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[ ...@@ -40,16 +40,16 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
else else
with_superlu=/usr/ with_superlu=/usr/
my_include_path=include my_include_path=include/superlu
my_lib_path=lib my_lib_path=lib
if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then
#Try to find headers under superludist #Try to find headers under superludist
my_include_path=include/superlu my_include_path=include
if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then
with_superlu=/usr/local/ with_superlu=/usr/local/
my_include_path=include my_include_path=include/superlu
if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then
my_include_path=include/superlu my_include_path=include
if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then if test ! -f "$with_superlu/$my_include_path/dsp_defs.h" ; then
with_superlu="no" with_superlu="no"
AC_MSG_RESULT(failed) AC_MSG_RESULT(failed)
...@@ -112,7 +112,7 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[ ...@@ -112,7 +112,7 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[
LIBS="$BLAS_LIBS $LIBS $FLIBS" LIBS="$BLAS_LIBS $LIBS $FLIBS"
AC_CHECK_LIB(superlu, [dgssvx],[ AC_CHECK_LIB(superlu, [dgssvx],[
SUPERLU_LIBS="$LIBS" SUPERLU_LIBS="-lsuperlu $LIBS"
SUPERLU_LDFLAGS="$LDFLAGS" SUPERLU_LDFLAGS="$LDFLAGS"
HAVE_SUPERLU="1" HAVE_SUPERLU="1"
],[ ],[
...@@ -144,7 +144,7 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[ ...@@ -144,7 +144,7 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[
fi fi
fi fi
fi fi
echo "SUPERLU_LIBS=$SUPERLU_LIBS"
# pre-set variable for summary # pre-set variable for summary
#with_superlu="no" #with_superlu="no"
......
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