ruby-changes:14841
From: muraken <ko1@a...>
Date: Thu, 18 Feb 2010 22:33:44 +0900 (JST)
Subject: [ruby-changes:14841] Ruby:r26706 (trunk): * confiure.in: new --with-ext and --with-out-ext options for extmk.
muraken 2010-02-18 22:33:25 +0900 (Thu, 18 Feb 2010) New Revision: 26706 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26706 Log: * confiure.in: new --with-ext and --with-out-ext options for extmk. * tool/mkconfig.rb: normalizing --with-out-ext to --without-ext. Modified files: trunk/ChangeLog trunk/configure.in trunk/tool/mkconfig.rb Index: configure.in =================================================================== --- configure.in (revision 26705) +++ configure.in (revision 26706) @@ -1918,6 +1918,12 @@ [nextstep* | openstep* | rhapsody* | darwin*], [ STRIP='strip -A -n']) +AC_ARG_WITH(ext, + AC_HELP_STRING([--with-ext=EXTS], + [pass to --with-ext option of extmk.rb])) +AC_ARG_WITH(out-ext, + AC_HELP_STRING([--with-out-ext=EXTS], + [pass to --without-ext option of extmk.rb])) EXTSTATIC= AC_SUBST(EXTSTATIC)dnl AC_ARG_WITH(static-linked-ext, Index: ChangeLog =================================================================== --- ChangeLog (revision 26705) +++ ChangeLog (revision 26706) @@ -1,3 +1,8 @@ +Thu Feb 18 22:28:00 2010 Kenta Murata <mrkn@m...> + + * confiure.in: new --with-ext and --with-out-ext options for extmk. + * tool/mkconfig.rb: normalizing --with-out-ext to --without-ext. + Thu Feb 18 21:50:00 2010 Tanaka Akira <akr@f...> * pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'. Index: tool/mkconfig.rb =================================================================== --- tool/mkconfig.rb (revision 26705) +++ tool/mkconfig.rb (revision 26706) @@ -111,7 +111,10 @@ end end end - val.gsub!(/ +(?!-)/, "=") if name == "configure_args" && /mswin32/ =~ RUBY_PLATFORM + if name == "configure_args" + val.gsub!(/ +(?!-)/, "=") if /mswin32/ =~ RUBY_PLATFORM + val.gsub!(/--with-out-ext/, "--without-ext") + end val = val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1 ? "$(#{$1})" : $&}.dump if /^prefix$/ =~ name val = "(TOPDIR || DESTDIR + #{val})" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/