# copyright John Maddock 2008 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt. import modules ; import path ; local ntl-path = [ modules.peek : NTL_PATH ] ; local gmp_path = [ modules.peek : GMP_PATH ] ; local e_float_path = [ modules.peek : E_FLOAT_PATH ] ; obj has_long_double_support : has_long_double_support.cpp ; obj has_mpfr_class : has_mpfr_class.cpp : $(gmp_path) $(gmp_path)/mpfr $(gmp_path)/gmpfrxx ; obj has_mpreal : has_mpreal.cpp : $(gmp_path) $(gmp_path)/mpfr $(gmp_path)/mpfrc++ ; obj has_ntl_rr : has_ntl_rr.cpp : $(ntl-path)/include ; obj has_gmpxx : has_gmpxx.cpp : $(gmp_path) $(gmp_path)/mpfr $(gmp_path)/gmpfrxx ; obj has_gcc_visibility : has_gcc_visibility.cpp : gcc:-fvisibility=hidden gcc:-Werror ; obj has_e_float : has_e_float.cpp : $(e_float_path) ; explicit has_long_double_support ; explicit has_mpfr_class ; explicit has_mpreal ; explicit has_ntl_rr ; explicit has_gmpxx ; explicit has_gcc_visibility ; explicit has_e_float ;