From 5d6ed9081ed573451ef23d4b0b1bc824c68ab772 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 18 May 2014 08:31:34 +0000 Subject: [PATCH] configure.in: rb_cv_atan2_inf_c99 * configure.in (rb_cv_atan2_inf_c99): set `no` if atan2f and atan2l are not available, and quote the result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 5bcb227764..6b14d21db1 100644 --- a/configure.in +++ b/configure.in @@ -2171,9 +2171,9 @@ main(int argc, char **argv) [rb_cv_atan2_inf_c99=no], [AS_CASE($target_os, [mingw*|mswin*], [rb_cv_atan2_inf_c99=no], [rb_cv_atan2_inf_c99=yes])] ) - ]) + ], [rb_cv_atan2_inf_c99=no]) ]) -AS_IF([test $rb_cv_atan2_inf_c99 = yes], [AC_DEFINE(ATAN2_INF_C99)]) +AS_IF([test "x$rb_cv_atan2_inf_c99" = xyes], [AC_DEFINE(ATAN2_INF_C99)]) # Some platform need -lrt for clock_gettime, but the other don't. if test x"$ac_cv_func_clock_gettime" != xyes; then