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

ruby-changes:15480

From: naruse <ko1@a...>
Date: Sat, 17 Apr 2010 23:28:11 +0900 (JST)
Subject: [ruby-changes:15480] Ruby:r27381 (trunk): * configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.

naruse	2010-04-17 23:27:54 +0900 (Sat, 17 Apr 2010)

  New Revision: 27381

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

  Log:
    * configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
      On Solaris it can compile with signbit but can't link.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 27380)
+++ configure.in	(revision 27381)
@@ -1119,7 +1119,7 @@
 		 isnan finite isinf hypot acosh erf tgamma lgamma_r cbrt \
                  strlcpy strlcat)
 AC_CACHE_CHECK(for signbit, rb_cv_have_signbit,
-  [AC_TRY_COMPILE([
+  [AC_TRY_LINK([
 #include <math.h>
 ], [int v = signbit(-0.0);],
 	rb_cv_have_signbit=yes,
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27380)
+++ ChangeLog	(revision 27381)
@@ -1,3 +1,8 @@
+Sat Apr 17 23:21:15 2010  NARUSE, Yui  <naruse@r...>
+
+	* configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
+	  On Solaris it can compile with signbit but can't link.
+
 Sat Apr 17 20:34:09 2010  Yusuke Endoh  <mame@t...>
 
 	* test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for

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

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