diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-09-09 17:33:46 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-09-09 17:33:46 +0900 |
commit | 28362876f2c342f89cf404cee9e5a8bebd538871 (patch) | |
tree | 0303af3bba11e82c586480ba02af558b9a2b203c | |
parent | 7299cd9d6accbe023ed911935522e19435eb762d (diff) | |
download | ruby-28362876f2c342f89cf404cee9e5a8bebd538871.tar.gz |
fixup! configure.in: don't check for atan2l() and atan2f()
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 62fa088a65..fab31b8edc 100644 --- a/configure.in +++ b/configure.in @@ -2523,7 +2523,7 @@ void qsort_r(void *base, size_t nmemb, size_t size, ]) AC_CACHE_CHECK(whether atan2 handles Inf as C99, rb_cv_atan2_inf_c99, [ - AC_TRY_RUN([ + AC_TRY_RUN([ @%:@include <math.h> @%:@ifdef HAVE_UNISTD_H @%:@include <unistd.h> @@ -2544,7 +2544,8 @@ main(int argc, char **argv) ], [rb_cv_atan2_inf_c99=yes], [rb_cv_atan2_inf_c99=no], - [AS_CASE($target_os, [mingw*|mswin*], [rb_cv_atan2_inf_c99=no], [rb_cv_atan2_inf_c99=yes])]) + [AS_CASE($target_os, [mingw*|mswin*], [rb_cv_atan2_inf_c99=no], [rb_cv_atan2_inf_c99=yes])] + ) ]) AS_IF([test "x$rb_cv_atan2_inf_c99" = xyes], [AC_DEFINE(ATAN2_INF_C99)]) |