summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-23 17:10:36 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-23 17:10:36 +0000
commit57bca36e08fca7a7435c08b5f415ec184f84ceb9 (patch)
tree1dfd01791989e1709e3937d3ffbeb21eb3763478
parentcf4117f5c35ec59bf402ffef76b5723ec422b65c (diff)
* configure.in: Minix 3.2.1 supports shared libraries as NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ee61d9398..882bce1b4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Feb 24 02:03:14 2013 Tanaka Akira <akr@fsij.org>
+
+ * configure.in: Minix 3.2.1 supports shared libraries as NetBSD.
+
Sun Dec 2 22:05:54 2012 Akinori MUSHA <knu@iDaemons.org>
* lib/generator.rb (Generator#initialize): Make an internal block
diff --git a/configure.in b/configure.in
index a7a60cd23e..27331e83e3 100644
--- a/configure.in
+++ b/configure.in
@@ -1324,7 +1324,7 @@ if test "$with_dln_a_out" != yes; then
*shlicc*) : ${LDSHARED='$(CC) -r'}
rb_cv_dlopen=yes ;;
esac ;;
- linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*)
+ linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | minix*)
: ${LDSHARED='$(CC) -shared'}
if test "$rb_cv_binary_elf" = yes; then
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
@@ -1640,7 +1640,7 @@ if test "$enable_shared" = 'yes'; then
LIBRUBY_ALIASES=''
fi
;;
- netbsd*)
+ netbsd*|minix*)
SOLIBS='$(LIBS)'
LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
@@ -1724,7 +1724,7 @@ AC_SUBST(RDOCTARGET)
case "$target_os" in
linux*)
;;
- netbsd*)
+ netbsd*|minix*)
CFLAGS="$CFLAGS -pipe"
;;
nextstep*|openstep*)