summaryrefslogtreecommitdiff
path: root/configure.in
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 /configure.in
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cd12139..0385010 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";;