comparison 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
parents 034cdbd34c0a
children 1eb94c1da37d
comparison
equal deleted inserted replaced
6207:3c92b8d892dd 6208:323be5eeed1f
45 -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;; 45 -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
46 *) BLAS_LIBS="-l$with_blas" ;; 46 *) BLAS_LIBS="-l$with_blas" ;;
47 esac 47 esac
48 48
49 # Get fortran linker names of BLAS functions to check for. 49 # Get fortran linker names of BLAS functions to check for.
50 AC_F77_FUNC(sgemm) 50 if $have_fortran_compiler; then
51 AC_F77_FUNC(dgemm) 51 AC_F77_FUNC(sgemm)
52 AC_F77_FUNC(dgemm)
53 elif $have_f2c; then
54 sgemm=sgemm_
55 dgemm=dgemm_
56 fi
52 57
53 acx_blas_save_LIBS="$LIBS" 58 acx_blas_save_LIBS="$LIBS"
54 LIBS="$LIBS $FLIBS" 59 LIBS="$LIBS $FLIBS"
55 60
56 # First, check BLAS_LIBS environment variable 61 # First, check BLAS_LIBS environment variable