Revision | c99418b0ce2826fc4926b87738da41fa358fcf66 (tree) |
---|---|
Zeit | 2013-08-24 11:01:21 |
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@1509 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -155,6 +155,9 @@ | ||
155 | 155 | /* Define to 1 if the system has the type `_Bool'. */ |
156 | 156 | #undef HAVE__BOOL |
157 | 157 | |
158 | +/* Whether ILP64 version of Intel Math Kernel Library */ | |
159 | +#undef MKL_ILP64 | |
160 | + | |
158 | 161 | /* Define to the address where bug reports for this package should be sent. */ |
159 | 162 | #undef PACKAGE_BUGREPORT |
160 | 163 |
@@ -7690,6 +7690,11 @@ _ACEOF | ||
7690 | 7690 | |
7691 | 7691 | $as_echo "#define SIZEOF_LAPACKINT SIZEOF_BLASINT" >>confdefs.h |
7692 | 7692 | |
7693 | +if test x$molds_cv_sizeof_blasint = x64; then : | |
7694 | + | |
7695 | +$as_echo "#define MKL_ILP64 /**/" >>confdefs.h | |
7696 | + | |
7697 | +fi | |
7693 | 7698 | |
7694 | 7699 | |
7695 | 7700 |
@@ -8505,6 +8510,52 @@ fi | ||
8505 | 8510 | LDFLAGS="$LDFLAGS_SAVED" |
8506 | 8511 | fi |
8507 | 8512 | |
8513 | + | |
8514 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld accepts -rpath option" >&5 | |
8515 | +$as_echo_n "checking whether ld accepts -rpath option... " >&6; } | |
8516 | +if ${molds_cv_ld_accepts_rpath+:} false; then : | |
8517 | + $as_echo_n "(cached) " >&6 | |
8518 | +else | |
8519 | + LDFLAGS_save=$LDFLAGS | |
8520 | + LIBS_save=$LIBS | |
8521 | + LDFLAGS="-Wl,-rpath=$BOOST_LIBDIR" | |
8522 | + LIBS="" | |
8523 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
8524 | +/* end confdefs.h. */ | |
8525 | + | |
8526 | +#ifdef F77_DUMMY_MAIN | |
8527 | + | |
8528 | +# ifdef __cplusplus | |
8529 | + extern "C" | |
8530 | +# endif | |
8531 | + int F77_DUMMY_MAIN() { return 1; } | |
8532 | + | |
8533 | +#endif | |
8534 | +int | |
8535 | +main () | |
8536 | +{ | |
8537 | +return 0; | |
8538 | + ; | |
8539 | + return 0; | |
8540 | +} | |
8541 | +_ACEOF | |
8542 | +if ac_fn_cxx_try_link "$LINENO"; then : | |
8543 | + molds_cv_ld_accepts_rpath=yes | |
8544 | +else | |
8545 | + molds_cv_ld_accepts_rpath=no | |
8546 | +fi | |
8547 | +rm -f core conftest.err conftest.$ac_objext \ | |
8548 | + conftest$ac_exeext conftest.$ac_ext | |
8549 | + LDFLAGS=$LDFLAGS_save | |
8550 | + LIBS=$LIBS_save | |
8551 | +fi | |
8552 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $molds_cv_ld_accepts_rpath" >&5 | |
8553 | +$as_echo "$molds_cv_ld_accepts_rpath" >&6; } | |
8554 | + | |
8555 | +if test x$molds_cv_ld_accepts_rpath == xyes; then : | |
8556 | + BOOST_LDFLAGS="$BOOST_LDFLAGS -Wl,-rpath=$BOOST_LIBDIR" | |
8557 | +fi | |
8558 | + | |
8508 | 8559 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 |
8509 | 8560 | $as_echo_n "checking whether the compiler implements namespaces... " >&6; } |
8510 | 8561 | if ${ac_cv_cxx_namespaces+:} false; then : |
@@ -8568,7 +8619,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
8568 | 8619 | |
8569 | 8620 | CXXFLAGS_SAVE=$CXXFLAGS |
8570 | 8621 | LIBS_SAVE=$LIBS |
8571 | -CXXFLAGS="-pthread $CXXFLAGS" | |
8622 | +CXXFLAGS="$BOOST_CPPFLAGS -pthread $CXXFLAGS $BOOST_LDFLAGS" | |
8572 | 8623 | |
8573 | 8624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Thread library is available" >&5 |
8574 | 8625 | $as_echo_n "checking whether the Boost::Thread library is available... " >&6; } |
@@ -8718,8 +8769,7 @@ boost::thread_group thrds; return 0; | ||
8718 | 8769 | |
8719 | 8770 | _ACEOF |
8720 | 8771 | if ac_fn_cxx_try_link "$LINENO"; then : |
8721 | - BOOST_THREAD_LIBS="$BOOST_THREAD_LIBS -lboost_system" | |
8722 | - ax_cv_boost_thread_system=yes | |
8772 | + ax_cv_boost_thread_system=yes | |
8723 | 8773 | else |
8724 | 8774 | as_fn_error $? "Cannot use Boost::Thread" "$LINENO" 5 |
8725 | 8775 |
@@ -8734,6 +8784,10 @@ fi | ||
8734 | 8784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_thread_system" >&5 |
8735 | 8785 | $as_echo "$ax_cv_boost_thread_system" >&6; } |
8736 | 8786 | |
8787 | + if test "x$ax_cv_boost_thread_system" = "xyes"; then | |
8788 | + BOOST_THREAD_LIBS="$BOOST_THREAD_LIBS -lboost_system" | |
8789 | + fi | |
8790 | + | |
8737 | 8791 | CXXFLAGS=$CXXFLAGS_SAVE |
8738 | 8792 | LIBS=$LIBS_SAVE |
8739 | 8793 | ac_ext=cpp |
@@ -8747,51 +8801,6 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
8747 | 8801 | fi |
8748 | 8802 | |
8749 | 8803 | |
8750 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld accepts -rpath option" >&5 | |
8751 | -$as_echo_n "checking whether ld accepts -rpath option... " >&6; } | |
8752 | -if ${molds_cv_ld_accepts_rpath+:} false; then : | |
8753 | - $as_echo_n "(cached) " >&6 | |
8754 | -else | |
8755 | - LDFLAGS_save=$LDFLAGS | |
8756 | - LIBS_save=$LIBS | |
8757 | - LDFLAGS="-Wl,-rpath=$BOOST_LIBDIR" | |
8758 | - LIBS="" | |
8759 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
8760 | -/* end confdefs.h. */ | |
8761 | - | |
8762 | -#ifdef F77_DUMMY_MAIN | |
8763 | - | |
8764 | -# ifdef __cplusplus | |
8765 | - extern "C" | |
8766 | -# endif | |
8767 | - int F77_DUMMY_MAIN() { return 1; } | |
8768 | - | |
8769 | -#endif | |
8770 | -int | |
8771 | -main () | |
8772 | -{ | |
8773 | -return 0; | |
8774 | - ; | |
8775 | - return 0; | |
8776 | -} | |
8777 | -_ACEOF | |
8778 | -if ac_fn_cxx_try_link "$LINENO"; then : | |
8779 | - molds_cv_ld_accepts_rpath=yes | |
8780 | -else | |
8781 | - molds_cv_ld_accepts_rpath=no | |
8782 | -fi | |
8783 | -rm -f core conftest.err conftest.$ac_objext \ | |
8784 | - conftest$ac_exeext conftest.$ac_ext | |
8785 | - LDFLAGS=$LDFLAGS_save | |
8786 | - LIBS=$LIBS_save | |
8787 | -fi | |
8788 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $molds_cv_ld_accepts_rpath" >&5 | |
8789 | -$as_echo "$molds_cv_ld_accepts_rpath" >&6; } | |
8790 | - | |
8791 | -if test x$molds_cv_ld_accepts_rpath == xyes; then : | |
8792 | - BOOST_LDFLAGS="$BOOST_LDFLAGS -Wl,-rpath=$BOOST_LIBDIR" | |
8793 | -fi | |
8794 | - | |
8795 | 8804 | CPPFLAGS_save=$CPPFLAGS |
8796 | 8805 | CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" |
8797 | 8806 | for ac_header in boost/format.hpp |