mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
On Solaris it can compile with signbit but can't link. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71104c3356
commit
580677a984
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Apr 17 23:21:15 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* 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@tsg.ne.jp>
|
||||
|
||||
* test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for
|
||||
|
|
|
@ -1119,7 +1119,7 @@ AC_REPLACE_FUNCS(dup2 memmove strerror\
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue