Revisión | 8eed608234b86d424cab6271f17ac4176e8b1f83 (tree) |
---|---|
Tiempo | 2013-01-02 02:41:53 |
Autor | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Generate files by autoreconf 2.69 with automake 1.11.6. #28588
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1227 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -52,8 +52,10 @@ POST_UNINSTALL = : | ||
52 | 52 | build_triplet = @build@ |
53 | 53 | host_triplet = @host@ |
54 | 54 | bin_PROGRAMS = MolDS$(EXEEXT) |
55 | -@USE_OPENBLAS_DIR_TRUE@am__append_1 = -I$(OPENBLAS_INCLUDE_DIR) | |
56 | -@USE_OPENBLAS_DIR_TRUE@am__append_2 = -L$(OPENBLAS_LIB_DIR) | |
55 | +@USE_OPENBLAS_DIR_TRUE@am__append_1 = -I$(OPENBLAS_INCLUDE_DIR) \ | |
56 | +@USE_OPENBLAS_DIR_TRUE@ $(BOOST_CPPLAGS) | |
57 | +@USE_OPENBLAS_DIR_TRUE@am__append_2 = -L$(OPENBLAS_LIB_DIR) \ | |
58 | +@USE_OPENBLAS_DIR_TRUE@ $(BOOST_LDFLAGS) | |
57 | 59 | subdir = . |
58 | 60 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
59 | 61 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
@@ -4955,10 +4955,8 @@ if test "${with_openblas+set}" = set; then : | ||
4955 | 4955 | if test -d $withval; then : |
4956 | 4956 | { $as_echo "$as_me:${as_lineno-$LINENO}: Using OpenBLAS under \`$withval'." >&5 |
4957 | 4957 | $as_echo "$as_me: Using OpenBLAS under \`$withval'." >&6;} |
4958 | - BLAS_LIBS=-lopenblas | |
4959 | - OPENBLAS_ROOT=$withval | |
4960 | - CPPFLAGS="$CPPFLAGS -I$OPENBLAS_ROOT/include" | |
4961 | - LDFLAGS="$LDFLAGS -L$OPENBLAS_ROOT/lib" | |
4958 | + BLAS_LIBS=-lopenblas | |
4959 | + OPENBLAS_ROOT=$withval | |
4962 | 4960 | else |
4963 | 4961 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4964 | 4962 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
@@ -7028,7 +7026,7 @@ fi | ||
7028 | 7026 | done |
7029 | 7027 | |
7030 | 7028 | |
7031 | -if test x$molds_lapack_cinterface_found != xyes; then : | |
7029 | +if test x$molds_blas_cinterface_found != xyes; then : | |
7032 | 7030 | for ac_func in cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr |
7033 | 7031 | do : |
7034 | 7032 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
@@ -7037,15 +7035,15 @@ if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
7037 | 7035 | cat >>confdefs.h <<_ACEOF |
7038 | 7036 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7039 | 7037 | _ACEOF |
7040 | - molds_lapack_cinterface_found=yes | |
7038 | + molds_blas_cinterface_found=yes | |
7041 | 7039 | else |
7042 | - molds_lapack_cinterface_found=no;break | |
7040 | + molds_blas_cinterface_found=no;break | |
7043 | 7041 | fi |
7044 | 7042 | done |
7045 | 7043 | |
7046 | 7044 | fi |
7047 | 7045 | |
7048 | -if test x$molds_lapack_cinterface_found != xyes; then : | |
7046 | +if test x$molds_blas_cinterface_found != xyes; then : | |
7049 | 7047 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7050 | 7048 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7051 | 7049 | as_fn_error $? "Cannot find C interface functions of BLAS! |
@@ -7733,8 +7731,32 @@ fi | ||
7733 | 7731 | |
7734 | 7732 | |
7735 | 7733 | |
7736 | -CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" | |
7737 | -LDFLAGS="$LDFLAGS -Wl,-rpath=$BOOST_LIBDIR $BOOST_LDFLAGS" | |
7734 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld accepts -rpath option" >&5 | |
7735 | +$as_echo_n "checking whether ld accepts -rpath option... " >&6; } | |
7736 | +if ${molds_cv_ld_accepts_rpath+:} false; then : | |
7737 | + $as_echo_n "(cached) " >&6 | |
7738 | +else | |
7739 | + LDFLAGS_save=$LDFLAGS | |
7740 | + LDFLAGS="-Wl,-rpath=$BOOST_LIBDIR" | |
7741 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7742 | +/* end confdefs.h. */ | |
7743 | +return 0; | |
7744 | +_ACEOF | |
7745 | +if ac_fn_cxx_try_link "$LINENO"; then : | |
7746 | + molds_cv_ld_accepts_rpath=yes | |
7747 | +else | |
7748 | + molds_cv_ld_accepts_rpath=no | |
7749 | +fi | |
7750 | +rm -f core conftest.err conftest.$ac_objext \ | |
7751 | + conftest$ac_exeext conftest.$ac_ext | |
7752 | + LDFLAGS=$LDFLAGS_save | |
7753 | +fi | |
7754 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $molds_cv_ld_accepts_rpath" >&5 | |
7755 | +$as_echo "$molds_cv_ld_accepts_rpath" >&6; } | |
7756 | + | |
7757 | +if test x$molds_cv_ld_accepts_rpath == xyes; then : | |
7758 | + BOOST_LDFLAGS="$BOOST_LDFLAGS -Wl,-rpath=$BOOST_LIBDIR" | |
7759 | +fi | |
7738 | 7760 | |
7739 | 7761 | for ac_header in boost/random.hpp |
7740 | 7762 | do : |