configure changes for librsb interoperability.
psblas3-type-indexed
Michele Martone 14 years ago
parent e0fd8549d1
commit 3beedcad96

18
configure vendored

@ -742,6 +742,7 @@ with_module_path
enable_dependency_tracking enable_dependency_tracking
with_blas with_blas
with_lapack with_lapack
with_rsb
with_metis with_metis
' '
ac_precious_vars='build_alias ac_precious_vars='build_alias
@ -1404,6 +1405,7 @@ Optional Packages:
prepend to [MODULE_PATH] prepend to [MODULE_PATH]
--with-blas=<lib> use BLAS library <lib> --with-blas=<lib> use BLAS library <lib>
--with-lapack=<lib> use LAPACK library <lib> --with-lapack=<lib> use LAPACK library <lib>
--with-rsb Specify Recursive Sparse BLAS library
--with-metis=LIB Specify -lMETISLIBNAME or the absolute library --with-metis=LIB Specify -lMETISLIBNAME or the absolute library
filename. filename.
@ -8772,6 +8774,22 @@ fi
#AC_CHECK_LIB(umf,umfpack_di_solve,psblas_cv_have_umfpack=yes,psblas_cv_have_umfpack=no,[amd]) #AC_CHECK_LIB(umf,umfpack_di_solve,psblas_cv_have_umfpack=yes,psblas_cv_have_umfpack=no,[amd])
# Check whether --with-rsb was given.
if test "${with_rsb+set}" = set; then :
withval=$with_rsb; if test x$withval = xno; then
want_rsb_libs= ; else if test x$withval = xyes ; then want_rsb_libs=-lrsb ; else want_rsb_libs="$withval" ; fi ; FDEFINES="$psblas_cv_define_prepend-DHAVE_LIBRSB $FDEFINES" ; fi
else
want_rsb_libs=""
fi
if test x$want_rsb_libs != x ; then
# FIXME ! temporary for OpenMP
want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs"
fi
RSB_LIBS="$want_rsb_libs"
LIBS="$RSB_LIBS ${LIBS}"
# Check whether --with-metis was given. # Check whether --with-metis was given.
if test "${with_metis+set}" = set; then : if test "${with_metis+set}" = set; then :
withval=$with_metis; psblas_cv_metis=$withval withval=$with_metis; psblas_cv_metis=$withval

@ -652,6 +652,16 @@ PAC_MAKE_IS_GNUMAKE
# Note : also umfdi_local_search, ... # Note : also umfdi_local_search, ...
#AC_CHECK_LIB(umf,umfpack_di_solve,psblas_cv_have_umfpack=yes,psblas_cv_have_umfpack=no,[amd]) #AC_CHECK_LIB(umf,umfpack_di_solve,psblas_cv_have_umfpack=yes,psblas_cv_have_umfpack=no,[amd])
AC_ARG_WITH(rsb, AC_HELP_STRING([--with-rsb], [Specify Recursive Sparse BLAS library]), [if test x$withval = xno; then
want_rsb_libs= ; else if test x$withval = xyes ; then want_rsb_libs=-lrsb ; else want_rsb_libs="$withval" ; fi ; FDEFINES="$psblas_cv_define_prepend-DHAVE_LIBRSB $FDEFINES" ; fi], [want_rsb_libs=""])
if test x$want_rsb_libs != x ; then
# FIXME ! temporary for OpenMP
want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs"
fi
RSB_LIBS="$want_rsb_libs"
LIBS="$RSB_LIBS ${LIBS}"
dnl AC_CHECK_HEADERS([rsb.h], [ LIBS="${LIBS} $want_rsb_libs"], [])
AC_ARG_WITH(metis, AC_HELP_STRING([--with-metis=LIB], [Specify -lMETISLIBNAME or the absolute library filename.]), AC_ARG_WITH(metis, AC_HELP_STRING([--with-metis=LIB], [Specify -lMETISLIBNAME or the absolute library filename.]),
[psblas_cv_metis=$withval], [psblas_cv_metis=$withval],
[psblas_cv_metis='']) [psblas_cv_metis=''])

Loading…
Cancel
Save