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
commitbf2a2ccc81e691748459ba7ded039cfc424b9294 (patch)
tree67897af3c4c42eef4f68e8e86745be8efa91a7e3
parentedd727a2b18c045035b1deedf3fa2c7a15c93382 (diff)
* configure.in: should test isinf for Solaris with GCC compiler.
[ruby-core:08100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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 d6b9ebd86d..6ccea179e7 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]
+
Thu Jun 29 18:58:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patch
diff --git a/configure.in b/configure.in
index cd12139236..0385010e1d 100644
--- a/configure.in
+++ b/configure.in
@@ -417,7 +417,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";;