changeset 12539:b8f0148a86f1 octave-forge

./configure --help will show extra info about relevant *RSB* variables. doc update.
author michelemartone
date Mon, 20 Oct 2014 08:43:49 +0000
parents 76d554668a8f
children 18d7476a8db6
files main/sparsersb/doc/README main/sparsersb/src/configure.base
diffstat 2 files changed, 16 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main/sparsersb/doc/README	Sat Oct 18 15:26:31 2014 +0000
+++ b/main/sparsersb/doc/README	Mon Oct 20 08:43:49 2014 +0000
@@ -14,11 +14,16 @@
 If you desire, you can pass some options to configure; e.g.: 
 ./configure CXXFLAGS="-O3  "
 ./configure CXXFLAGS="-O3  " LIBRSB_CONFIG=/opt/librsb-optimized/bin/librsb-config 
+./configure SPARSERSB_LIBS="-lmpi++"
 ./configure 
 
+More options:
+./configure --help
+
 Usage instructions:
 # go in the directory where sparsersb.oct is located and run octave.
 octave
-# you can use the sparsersb function
+# you can use the sparsersb function, starting with 
+ > help sparsersb.
 
 ================================================================================
--- a/main/sparsersb/src/configure.base	Sat Oct 18 15:26:31 2014 +0000
+++ b/main/sparsersb/src/configure.base	Mon Oct 20 08:43:49 2014 +0000
@@ -63,10 +63,18 @@
 AC_SUBST(altpath)
 AC_SUBST(altmpath)
 AC_SUBST(altopath)
-AC_SUBST(LIBRSB_LIBS)
+dnl
+AC_SUBST(LIBRSB_CONFIG)
+AC_ARG_VAR([LIBRSB_CONFIG],[Pathname to the librsb-config script (MANDATORY!).])
 AC_SUBST(SPARSERSB_LIBS)
+AC_ARG_VAR([SPARSERSB_LIBS],[Additional libraries you want to link sparsersb against.])
+AC_SUBST(LIBRSB_LIBS)
+dnl AC_ARG_VAR([LIBRSB_LIBS],[Link line for librsb (determined using LIBRSB_CONFIG).])
+AC_SUBST(RSBOI_CXXFLAGS)
+dnl AC_ARG_VAR([RSBOI_CXXFLAGS],[Compile/preprocess options for librsb (determined using LIBRSB_CONFIG).])
 AC_SUBST(LIBRSB_CXXFLAGS)
-AC_SUBST(RSBOI_CXXFLAGS)
+dnl AC_ARG_VAR([LIBRSB_CXXFLAGS],[Link line for librsb (determined using LIBRSB_CONFIG).])
+dnl
 
 AC_ARG_WITH(verbosity-level, 
 	[  --with-verbosity-level       verbosity level (0,1,..)],