ruby-changes:10689
From: nobu <ko1@a...>
Date: Thu, 12 Feb 2009 16:50:38 +0900 (JST)
Subject: [ruby-changes:10689] Ruby:r22252 (trunk): * configure.in: a patch to build on GNU/kOpenSolaris from Robert
nobu 2009-02-12 16:50:28 +0900 (Thu, 12 Feb 2009) New Revision: 22252 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22252 Log: * configure.in: a patch to build on GNU/kOpenSolaris from Robert Millan at [ruby-core:21888]. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 22251) +++ configure.in (revision 22252) @@ -1398,7 +1398,7 @@ fi case "$target_os" in -when(linux* | gnu* | k*bsd*-gnu | bsdi*) +when(linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu) if test "$rb_cv_binary_elf" = no; then with_dln_a_out=yes else @@ -1491,7 +1491,7 @@ when(*shlicc*) : ${LDSHARED="$CC -r"} rb_cv_dlopen=yes ;; esac ;; - when(linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*) + when(linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu) : ${LDSHARED='${CC} -shared'} if test "$rb_cv_binary_elf" = yes; then LDFLAGS="$LDFLAGS -Wl,-export-dynamic" @@ -1684,7 +1684,7 @@ fi case "$target_os" in - when(linux* | gnu* | k*bsd*-gnu) + when(linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) STRIP='strip -S -x';; when(nextstep* | openstep* | rhapsody* | darwin*) STRIP='strip -A -n';; @@ -1777,7 +1777,7 @@ when(sunos4*) LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' ;; - when(linux* | gnu* | k*bsd*-gnu | atheos*) + when(linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu) LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)' LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' ;; Index: ChangeLog =================================================================== --- ChangeLog (revision 22251) +++ ChangeLog (revision 22252) @@ -1,3 +1,8 @@ +Thu Feb 12 16:50:27 2009 Nobuyoshi Nakada <nobu@r...> + + * configure.in: a patch to build on GNU/kOpenSolaris from Rober + Millan at [ruby-core:21888]. + Thu Feb 12 15:28:04 2009 Yukihiro Matsumoto <matz@r...> * iseq.c (simple_default_value): allow plain strings as default -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/