summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 14:15:32 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 14:15:32 +0000
commitb3ecdf9a0f4331bc86d49dafeb15313d8edc0d3c (patch)
treeee74d3f6283308f5915c41e0a99f504fa40eca37 /configure.in
parent20f24512a97d91cb9d61e91f72cee3d491a4538e (diff)
downloadruby-b3ecdf9a0f4331bc86d49dafeb15313d8edc0d3c.tar.gz
ruby-b3ecdf9a0f4331bc86d49dafeb15313d8edc0d3c.tar.xz
ruby-b3ecdf9a0f4331bc86d49dafeb15313d8edc0d3c.zip
merges r24585 from trunk into ruby_1_9_1.
-- * dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient memory space for Solaris. a patch from Naohisa GOTO <ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132]. [ruby-dev:39062] * configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f49a88aea..f5b1858a8 100644
--- a/configure.in
+++ b/configure.in
@@ -526,6 +526,10 @@ case "$target_os" in
esac
case "$target_os" in
+solaris*)
+ AC_DEFINE(SIZEOF_STRUCT_DIRENT_TOO_SMALL, 1)
+ LIBS="-lm $LIBS"
+ ;;
nextstep*) ;;
openstep*) ;;
rhapsody*) ;;