diff options
-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)]) |