Mercurial > hg > octave-nkf
comparison configure.in @ 5222:8d95c4573f96
[project @ 2005-03-17 16:15:25 by jwe]
author | jwe |
---|---|
date | Thu, 17 Mar 2005 16:15:25 +0000 |
parents | 843ac57f254a |
children | 316ddaa7ae5b |
comparison
equal
deleted
inserted
replaced
5221:843ac57f254a | 5222:8d95c4573f96 |
---|---|
27 | 27 |
28 EXTERN_CFLAGS="$CFLAGS" | 28 EXTERN_CFLAGS="$CFLAGS" |
29 EXTERN_CXXFLAGS="$CXXFLAGS" | 29 EXTERN_CXXFLAGS="$CXXFLAGS" |
30 | 30 |
31 AC_INIT | 31 AC_INIT |
32 AC_REVISION($Revision: 1.466 $) | 32 AC_REVISION($Revision: 1.467 $) |
33 AC_PREREQ(2.57) | 33 AC_PREREQ(2.57) |
34 AC_CONFIG_SRCDIR([src/octave.cc]) | 34 AC_CONFIG_SRCDIR([src/octave.cc]) |
35 AC_CONFIG_HEADER(config.h) | 35 AC_CONFIG_HEADER(config.h) |
36 | 36 |
37 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) | 37 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) |
446 if test "$have_umfpack_header" = yes; then | 446 if test "$have_umfpack_header" = yes; then |
447 AC_CHECK_LIB(amd, amd_postorder, [ | 447 AC_CHECK_LIB(amd, amd_postorder, [ |
448 LIBS="-lamd $LIBS" | 448 LIBS="-lamd $LIBS" |
449 AC_CHECK_LIB(umfpack, umfpack_zi_get_determinant, [ | 449 AC_CHECK_LIB(umfpack, umfpack_zi_get_determinant, [ |
450 LIBS="-lumfpack $LIBS" | 450 LIBS="-lumfpack $LIBS" |
451 UMFPACK_LIBS="-lumfpack"; with_umfpack=yes])]) | 451 UMFPACK_LIBS="-lumfpack"; with_umfpack=yes], [ |
452 ## Invalidate the cache. | |
453 $as_unset ac_cv_lib_umfpack_umfpack_zi_get_determinant | |
454 AC_CHECK_LIB(umfpack, umfpack_zi_get_determinant, [ | |
455 LIBS="-lumfpack -lcblas $LIBS" | |
456 UMFPACK_LIBS="-lumfpack -lcblas"; with_umfpack=yes], [], -lcblas)])]) | |
452 if test "$with_umfpack" = yes; then | 457 if test "$with_umfpack" = yes; then |
453 # For now the code needed for this is not in umfpack, will add | 458 # For now the code needed for this is not in umfpack, will add |
454 # a test later that will probably have to be based on version | 459 # a test later that will probably have to be based on version |
455 # numbers as there is no interface changes that are visible at | 460 # numbers as there is no interface changes that are visible at |
456 # compile time. | 461 # compile time. |