[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 2.9.0 available for ftp

From: John W. Eaton
Subject: Re: Octave 2.9.0 available for ftp
Date: Thu, 17 Mar 2005 11:23:54 -0500

On 17-Mar-2005, David Bateman <address@hidden> wrote:

| What I would suggest that the initial test is left as is. However if 
| umfpack is not found then it would be tested with cblas as well, and if 
| fond cblas would be added to the umfpack libraries...

OK, here is a patch to try.

BTW, I've also made another configure change for 2.9.x, to flip the
defaults for --enable-shared, --enable-dl and --enable-static.  So now
configure with no args will build shared libraries only and enable
dynamic linking, which I think is what most people want these days.



2005-03-17  John W. Eaton  <address@hidden>

        * configure.in: If first check for -lumfpack fails try again with
        -lcblas as an additional library.

Index: configure.in
RCS file: /cvs/octave/configure.in,v
retrieving revision 1.466
diff -u -r1.466 configure.in
--- configure.in        17 Mar 2005 04:53:06 -0000      1.466
+++ configure.in        17 Mar 2005 16:12:03 -0000
@@ -448,7 +448,12 @@
       LIBS="-lamd $LIBS"
       AC_CHECK_LIB(umfpack, umfpack_zi_get_determinant, [
         LIBS="-lumfpack $LIBS"
-        UMFPACK_LIBS="-lumfpack"; with_umfpack=yes])])
+        UMFPACK_LIBS="-lumfpack"; with_umfpack=yes], [
+         ## Invalidate the cache.
+         $as_unset ac_cv_lib_umfpack_umfpack_zi_get_determinant
+         AC_CHECK_LIB(umfpack, umfpack_zi_get_determinant, [
+           LIBS="-lumfpack -lcblas $LIBS"
+            UMFPACK_LIBS="-lumfpack -lcblas"; with_umfpack=yes], [], 
     if test "$with_umfpack" = yes; then
       # For now the code needed for this is not in umfpack, will add
       # a test later that will probably have to be based on version

reply via email to

[Prev in Thread] Current Thread [Next in Thread]