changeset 9479:c4bd5fcdafee octave-forge

sparsersb: some more output from the configure ; README minifix.
author michelemartone
date Wed, 22 Feb 2012 20:48:51 +0000
parents 0d5fed55ab22
children 954f2f00d782
files main/sparsersb/doc/README main/sparsersb/src/autogen.sh
diffstat 2 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/main/sparsersb/doc/README	Wed Feb 22 20:03:19 2012 +0000
+++ b/main/sparsersb/doc/README	Wed Feb 22 20:48:51 2012 +0000
@@ -11,14 +11,14 @@
 make
 make check
 
+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 
 
 Usage instructions:
-# go in the directory where sparsersb.oct is located
+# go in the directory where sparsersb.oct is located and run octave.
 octave
 # you can use the sparsersb function
 
-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 
-
 ================================================================================
--- a/main/sparsersb/src/autogen.sh	Wed Feb 22 20:03:19 2012 +0000
+++ b/main/sparsersb/src/autogen.sh	Wed Feb 22 20:48:51 2012 +0000
@@ -11,6 +11,16 @@
 LIBRSB_CXXFLAGS="\`\$LIBRSB_CONFIG --cflags\`"
 LIBRSB_LIBS="\`\$LIBRSB_CONFIG --ldflags | sed s/-static//g\` -lgomp"
 AC_OPENMP([])
+##
+STATUS_MSG="
+\$STATUS_MSG
+
+librsb configured as:
+      LIBRSB_CONFIG=\${LIBRSB_CONFIG}
+      LIBRSB_CXXFLAGS=\${LIBRSB_CXXFLAGS}
+      LIBRSB_LIBS=\${LIBRSB_LIBS}
+"
+##
 EOF
 cat <<EOF >> configure.in
   AC_OUTPUT(\$CONFIGURE_OUTPUTS)