[前][次][番号順一覧][スレッド一覧]

ruby-changes:33917

From: nobu <ko1@a...>
Date: Sun, 18 May 2014 17:31:45 +0900 (JST)
Subject: [ruby-changes:33917] nobu:r45998 (trunk): configure.in: rb_cv_atan2_inf_c99

nobu	2014-05-18 17:31:34 +0900 (Sun, 18 May 2014)

  New Revision: 45998

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45998

  Log:
    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.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 45997)
+++ configure.in	(revision 45998)
@@ -2171,9 +2171,9 @@ main(int argc, char **argv) https://github.com/ruby/ruby/blob/trunk/configure.in#L2171
 	[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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]