summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-30 14:50:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-30 14:50:40 +0000
commita391419dbbdd4a115a41b6ecf97de46f5ea8d023 (patch)
tree50f60e5ab50353b5aa2677dc2d5f4f9a23f8bc09
parent02c8eb1ba809ffe9f41228e5152199a9bc607556 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--configure.in4
2 files changed, 8 insertions, 1 deletions
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 <matz@ruby-lang.org>
+
+ * configure.in: should test isinf for Solaris with GCC compiler.
+ [ruby-core:08100]
+
Fri Jun 30 19:35:41 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
* 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";;