Hmm. Please don't change GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_* stuff. Just change the general case: GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT GLIBCPP_CHECK_MATH_SUPPORT to pre-emptively kill checking the entire long double spectrum if the initial few aren't found. -benjamin