Mercurial > hg > octave-jordi
diff acx_blas.m4 @ 6208:323be5eeed1f
[project @ 2006-12-06 20:23:18 by jwe]
author | jwe |
---|---|
date | Wed, 06 Dec 2006 20:23:19 +0000 (2006-12-06) |
parents | 034cdbd34c0a |
children | 1eb94c1da37d |
line wrap: on
line diff
--- a/acx_blas.m4 +++ b/acx_blas.m4 @@ -47,8 +47,13 @@ esac # Get fortran linker names of BLAS functions to check for. -AC_F77_FUNC(sgemm) -AC_F77_FUNC(dgemm) +if $have_fortran_compiler; then + AC_F77_FUNC(sgemm) + AC_F77_FUNC(dgemm) +elif $have_f2c; then + sgemm=sgemm_ + dgemm=dgemm_ +fi acx_blas_save_LIBS="$LIBS" LIBS="$LIBS $FLIBS"