リビジョン | 23f9ca5ee1f67da9ad0cd55dd2409649657786dd (tree) |
---|---|
日時 | 2013-01-22 05:19:03 |
作者 | Katsuhiko Nishimra <ktns.87@gmai...> |
コミッター | Katsuhiko Nishimra |
Check for boost/math/special_functions/factorials.hpp. #30557
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1239 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -13,6 +13,10 @@ | ||
13 | 13 | /* define if the Boost library is available */ |
14 | 14 | #undef HAVE_BOOST |
15 | 15 | |
16 | +/* Define to 1 if you have the <boost/math/special_functions/factorials.hpp> | |
17 | + header file. */ | |
18 | +#undef HAVE_BOOST_MATH_SPECIAL_FUNCTIONS_FACTORIALS_HPP | |
19 | + | |
16 | 20 | /* Define to 1 if you have the <boost/random.hpp> header file. */ |
17 | 21 | #undef HAVE_BOOST_RANDOM_HPP |
18 | 22 |
@@ -7783,6 +7783,18 @@ fi | ||
7783 | 7783 | |
7784 | 7784 | done |
7785 | 7785 | |
7786 | +for ac_header in boost/math/special_functions/factorials.hpp | |
7787 | +do : | |
7788 | + ac_fn_cxx_check_header_mongrel "$LINENO" "boost/math/special_functions/factorials.hpp" "ac_cv_header_boost_math_special_functions_factorials_hpp" "$ac_includes_default" | |
7789 | +if test "x$ac_cv_header_boost_math_special_functions_factorials_hpp" = xyes; then : | |
7790 | + cat >>confdefs.h <<_ACEOF | |
7791 | +#define HAVE_BOOST_MATH_SPECIAL_FUNCTIONS_FACTORIALS_HPP 1 | |
7792 | +_ACEOF | |
7793 | + | |
7794 | +fi | |
7795 | + | |
7796 | +done | |
7797 | + | |
7786 | 7798 | |
7787 | 7799 | for ac_header in stdlib.h string.h |
7788 | 7800 | do : |
@@ -180,6 +180,7 @@ AS_IF([test x$molds_cv_ld_accepts_rpath == xyes], | ||
180 | 180 | [BOOST_LDFLAGS="$BOOST_LDFLAGS -Wl,-rpath=$BOOST_LIBDIR"]) |
181 | 181 | |
182 | 182 | AC_CHECK_HEADERS([boost/random.hpp],,[AC_MSG_FAILURE([Cannot find boost/random.hpp!])]) |
183 | +AC_CHECK_HEADERS([boost/math/special_functions/factorials.hpp]) | |
183 | 184 | |
184 | 185 | dnl Checks for header files. |
185 | 186 | AC_CHECK_HEADERS([stdlib.h string.h]) |