From a391419dbbdd4a115a41b6ecf97de46f5ea8d023 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 30 Jun 2006 14:50:40 +0000 Subject: [PATCH] * configure.in: should test isinf for Solaris with GCC compiler. [ruby-core:08100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 611fb7481e..9abbf139c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 30 23:46:23 2006 Yukihiro Matsumoto + + * configure.in: should test isinf for Solaris with GCC compiler. + [ruby-core:08100] + Fri Jun 30 19:35:41 2006 GOTOU Yuuzou * lib/webrick/httputils.rb (WEBrick::HTTPUtils._escape): should diff --git a/configure.in b/configure.in index 14da1a5e65..a5486551e1 100644 --- a/configure.in +++ b/configure.in @@ -431,7 +431,9 @@ bow) ac_cv_func_setitimer=no ;; superux*) ac_cv_func_setitimer=no ;; -solaris*2.10) ac_cv_func_isinf=yes +solaris*2.10) if test -z "$GCC"; then + ac_cv_func_isinf=yes + fi LIBS="-lm $LIBS" ;; *) LIBS="-lm $LIBS";;