Revisión | 12a6c65653f4683c5758424a0be7afbb1e985931 (tree) |
---|---|
Tiempo | 2013-01-25 16:53:30 |
Autor | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Remove checks for mkl BLAS interface functions. #28588 #30566
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1259 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -44,21 +44,6 @@ | ||
44 | 44 | /* Define to 1 if you have the <cblas.h> header file. */ |
45 | 45 | #undef HAVE_CBLAS_H |
46 | 46 | |
47 | -/* Define to 1 if you have the `daxpy' function. */ | |
48 | -#undef HAVE_DAXPY | |
49 | - | |
50 | -/* Define to 1 if you have the `dcopy' function. */ | |
51 | -#undef HAVE_DCOPY | |
52 | - | |
53 | -/* Define to 1 if you have the `ddot' function. */ | |
54 | -#undef HAVE_DDOT | |
55 | - | |
56 | -/* Define to 1 if you have the `dgemm' function. */ | |
57 | -#undef HAVE_DGEMM | |
58 | - | |
59 | -/* Define to 1 if you have the `dgemv' function. */ | |
60 | -#undef HAVE_DGEMV | |
61 | - | |
62 | 47 | /* Define to 1 if you have the `dgetrf' function. */ |
63 | 48 | #undef HAVE_DGETRF |
64 | 49 |
@@ -68,12 +53,6 @@ | ||
68 | 53 | /* Define to 1 if you have the `dsyevd' function. */ |
69 | 54 | #undef HAVE_DSYEVD |
70 | 55 | |
71 | -/* Define to 1 if you have the `dsymv' function. */ | |
72 | -#undef HAVE_DSYMV | |
73 | - | |
74 | -/* Define to 1 if you have the `dsyr' function. */ | |
75 | -#undef HAVE_DSYR | |
76 | - | |
77 | 56 | /* Define to 1 if you have the `dsysv' function. */ |
78 | 57 | #undef HAVE_DSYSV |
79 | 58 |
@@ -7001,7 +7001,7 @@ as_fn_error $? "Cannot find mkl.h or blas.h! | ||
7001 | 7001 | See \`config.log' for more details" "$LINENO" 5; } |
7002 | 7002 | fi |
7003 | 7003 | |
7004 | -for ac_func in dcopy daxpy ddot dgemv dgemm dsymv dsyr | |
7004 | +for ac_func in cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr | |
7005 | 7005 | do : |
7006 | 7006 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7007 | 7007 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
@@ -7017,23 +7017,6 @@ done | ||
7017 | 7017 | |
7018 | 7018 | |
7019 | 7019 | if test x$molds_blas_cinterface_found != xyes; then : |
7020 | - for ac_func in cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr | |
7021 | -do : | |
7022 | - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
7023 | -ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
7024 | -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
7025 | - cat >>confdefs.h <<_ACEOF | |
7026 | -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
7027 | -_ACEOF | |
7028 | - molds_blas_cinterface_found=yes | |
7029 | -else | |
7030 | - molds_blas_cinterface_found=no;break | |
7031 | -fi | |
7032 | -done | |
7033 | - | |
7034 | -fi | |
7035 | - | |
7036 | -if test x$molds_blas_cinterface_found != xyes; then : | |
7037 | 7020 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7038 | 7021 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7039 | 7022 | as_fn_error $? "Cannot find C interface functions of BLAS! |
@@ -91,15 +91,10 @@ AC_CHECK_HEADERS([mkl.h cblas.h],[molds_blas_header_found=yes],) | ||
91 | 91 | AS_IF([test "x$molds_blas_header_found" != "xyes"], |
92 | 92 | [AC_MSG_FAILURE([Cannot find mkl.h or blas.h!])]) |
93 | 93 | |
94 | -dnl Check for BLAS C interface | |
95 | -AC_CHECK_FUNCS([dcopy daxpy ddot dgemv dgemm dsymv dsyr], | |
96 | - [molds_blas_cinterface_found=yes], | |
97 | - [molds_blas_cinterface_found=no;break]) | |
98 | - | |
99 | -AS_IF([test x$molds_blas_cinterface_found != xyes], | |
100 | - [AC_CHECK_FUNCS([cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr], | |
101 | - [molds_blas_cinterface_found=yes], | |
102 | - [molds_blas_cinterface_found=no;break])]) | |
94 | +dnl Check for CBLAS | |
95 | +AC_CHECK_FUNCS([cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr], | |
96 | + [molds_blas_cinterface_found=yes], | |
97 | + [molds_blas_cinterface_found=no;break]) | |
103 | 98 | |
104 | 99 | AS_IF([test x$molds_blas_cinterface_found != xyes], |
105 | 100 | [AC_MSG_FAILURE([Cannot find C interface functions of BLAS!])]) |