mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
a59ba5073e
commit
5d6ed9081e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue