Mercurial > hg > octave-lojdl
changeset 9541:afbdf01bcacc
acx_blas_f77_func.m4 (ACX_BLAS_F77_FUNC): Save and restore LIBS
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 18 Aug 2009 12:11:49 -0400 |
parents | 79b5fe2d5646 |
children | f5ec5dc66824 |
files | ChangeLog acx_blas_f77_func.m4 |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-08-18 John W. Eaton <jwe@octave.org> + + * acx_blas_f77_func.m4 (ACX_BLAS_F77_FUNC): Save and restore LIBS. + 2009-08-18 John W. Eaton <jwe@octave.org> * aclocal.m4 (OCTAVE_CHECK_LIBRARY): Use variables named
--- a/acx_blas_f77_func.m4 +++ b/acx_blas_f77_func.m4 @@ -64,6 +64,7 @@ if test "$cross_compiling" = yes ; then ifelse($3, ,$1,$3) elif test x"$acx_blas_ok" = xyes; then + save_acx_blas_f77_func_LIBS="$LIBS" LIBS="$BLAS_LIBS $LIBS" AC_LANG_PUSH(Fortran 77) # LSAME check (LOGICAL return values) @@ -157,6 +158,7 @@ acx_blas_f77_func_ok=no; $2 fi + LIBS="$save_acx_blas_f77_func_LIBS" fi ])dnl ACX_BLAS_F77_FUNC