diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-01-23 11:36:12 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2020-01-23 16:44:54 -0300 |
commit | f9e84b31df2a5dd911de86c9f1177a9d8c8ea49d (patch) | |
tree | 10137a19d6f0c2fed308fcf935b11801addfe202 /libstdc++-v3/configure | |
parent | 7a900bcecab71593b731aa7dcad0fa3be8137f5a (diff) | |
download | gcc-f9e84b31df2a5dd911de86c9f1177a9d8c8ea49d.zip gcc-f9e84b31df2a5dd911de86c9f1177a9d8c8ea49d.tar.gz gcc-f9e84b31df2a5dd911de86c9f1177a9d8c8ea49d.tar.bz2 |
reject macros in math decl check
The C++ headers #undef the functions we are testing for, just in case
they're implemented as macros, so do that in the cross math decl tests
as well.
for libstdc++-v3/ChangeLog
* crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Reject macros.
* configure: Rebuild.
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index d2e516d..f3f2bdf 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -72956,6 +72956,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef acosl int main () @@ -73006,6 +73007,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef asinl int main () @@ -73056,6 +73058,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef atan2l int main () @@ -73106,6 +73109,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef atanl int main () @@ -73156,6 +73160,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef ceill int main () @@ -73206,6 +73211,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef cosl int main () @@ -73256,6 +73262,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef coshl int main () @@ -73306,6 +73313,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef expl int main () @@ -73356,6 +73364,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef fabsl int main () @@ -73406,6 +73415,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef floorl int main () @@ -73456,6 +73466,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef fmodl int main () @@ -73506,6 +73517,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef frexpl int main () @@ -73556,6 +73568,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef ldexpl int main () @@ -73606,6 +73619,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef log10l int main () @@ -73656,6 +73670,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef logl int main () @@ -73706,6 +73721,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef modfl int main () @@ -73756,6 +73772,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef powl int main () @@ -73806,6 +73823,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef sinl int main () @@ -73856,6 +73874,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef sinhl int main () @@ -73906,6 +73925,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef sqrtl int main () @@ -73956,6 +73976,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef tanl int main () @@ -74006,6 +74027,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #ifdef HAVE_IEEEFP_H # include <ieeefp.h> #endif +#undef tanhl int main () |