From edc01c32fda51301eaa90c74d4f097b02e3dfa6d Mon Sep 17 00:00:00 2001 From: Michele Martone Date: Fri, 19 Nov 2010 10:19:14 +0000 Subject: [PATCH] psblas3: missing HAVE_LIBRSB in the configure script. fixed. --- Makefile | 3 +++ Makefile.am | 3 +++ configure | 1 + configure.ac | 1 + test/serial/psb_d_rsb_mat_mod.F03 | 1 - 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 490ab0c8..736e9657 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ clean: (cd krylov; $(MAKE) clean) (cd util; $(MAKE) clean) +check: all + make check -C test/serial + cleanlib: (cd lib; /bin/rm -f *.a *$(.mod) *$(.fh)) veryclean: cleanlib diff --git a/Makefile.am b/Makefile.am index 3c51bdcf..fc4eb86a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,9 @@ clean: (cd krylov; make clean) (cd util; make clean) +check: library + make check -C test/serial + cleanlib: (cd lib; /bin/rm -f *.a *$(.mod) *$(.fh)) veryclean: cleanlib diff --git a/configure b/configure index a61c3e02..1889136c 100755 --- a/configure +++ b/configure @@ -8798,6 +8798,7 @@ if test x$want_rsb_libs != x ; then # we assume want_rsb_libs are linkage parameters fi fi + FDEFINES="$FDEFINES $psblas_cv_define_prepend-DHAVE_LIBRSB" fi RSB_LIBS="$want_rsb_libs" LIBS="$RSB_LIBS ${LIBS}" diff --git a/configure.ac b/configure.ac index ff76888e..81961bdb 100755 --- a/configure.ac +++ b/configure.ac @@ -665,6 +665,7 @@ if test x$want_rsb_libs != x ; then # we assume want_rsb_libs are linkage parameters fi fi + FDEFINES="$FDEFINES $psblas_cv_define_prepend-DHAVE_LIBRSB" fi RSB_LIBS="$want_rsb_libs" LIBS="$RSB_LIBS ${LIBS}" diff --git a/test/serial/psb_d_rsb_mat_mod.F03 b/test/serial/psb_d_rsb_mat_mod.F03 index 36658942..da4774de 100644 --- a/test/serial/psb_d_rsb_mat_mod.F03 +++ b/test/serial/psb_d_rsb_mat_mod.F03 @@ -10,7 +10,6 @@ module psb_d_rsb_mat_mod use psb_d_base_mat_mod use rsb_mod -#define HAVE_LIBRSB 1 #ifdef HAVE_LIBRSB use iso_c_binding #endif