Mercurial > octave-dspies
comparison configure.ac @ 15361:01c4f5d8a656
configure.ac: Cache results for QRUPDATE_LUU autoconf test.
* configure.ac: Cache results for QRUPDATE_LUU autoconf test.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 12 Sep 2012 11:36:35 -0700 |
parents | 6a0c0d3d60b6 |
children | 48cb1a5bb64d |
comparison
equal
deleted
inserted
replaced
15360:4b82664f526b | 15361:01c4f5d8a656 |
---|---|
1229 [], | 1229 [], |
1230 [sqr1up], | 1230 [sqr1up], |
1231 [Fortran 77], [don't use qrupdate, disable QR & Cholesky updating functions]) | 1231 [Fortran 77], [don't use qrupdate, disable QR & Cholesky updating functions]) |
1232 | 1232 |
1233 if test "$octave_cv_lib_qrupdate" = yes; then | 1233 if test "$octave_cv_lib_qrupdate" = yes; then |
1234 LIBS="$LIBS $QRUPDATE_LIBS" | 1234 AC_CACHE_CHECK([for slup1up in $QRUPDATE_LIBS], |
1235 AC_LANG_PUSH([Fortran 77]) | 1235 [octave_cv_func_slup1up], |
1236 AC_MSG_CHECKING([for slup1up in $QRUPDATE_LIBS]) | 1236 [LIBS="$LIBS $QRUPDATE_LIBS" |
1237 octave_qrupdate_luu=no | 1237 AC_LANG_PUSH([Fortran 77]) |
1238 AC_LINK_IFELSE([AC_LANG_CALL([], [slup1up])], [octave_qrupdate_luu=yes]) | 1238 AC_LINK_IFELSE([AC_LANG_CALL([], [slup1up])], |
1239 AC_MSG_RESULT([$octave_qrupdate_luu]) | 1239 octave_cv_func_slup1up=yes, octave_cv_func_slup1up=no) |
1240 if test "$octave_qrupdate_luu" = yes; then | 1240 AC_LANG_POP([Fortran 77]) |
1241 ]) | |
1242 if test $octave_cv_func_slup1up = yes; then | |
1241 AC_DEFINE(HAVE_QRUPDATE_LUU, 1, [Define to 1 if qrupdate supports LU updates.]) | 1243 AC_DEFINE(HAVE_QRUPDATE_LUU, 1, [Define to 1 if qrupdate supports LU updates.]) |
1242 fi | 1244 fi |
1243 AC_LANG_POP([Fortran 77]) | |
1244 fi | 1245 fi |
1245 LIBS="$save_LIBS" | 1246 LIBS="$save_LIBS" |
1246 | 1247 |
1247 ### Check for AMD library | 1248 ### Check for AMD library |
1248 | 1249 |