[前][次][番号順一覧][スレッド一覧]

ruby-changes:44398

From: nobu <ko1@a...>
Date: Sat, 22 Oct 2016 10:27:08 +0900 (JST)
Subject: [ruby-changes:44398] nobu:r56471 (trunk): configure.in: fix RUBY_{APPEND/PREPEND}_OPTION

nobu	2016-10-22 10:27:04 +0900 (Sat, 22 Oct 2016)

  New Revision: 56471

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56471

  Log:
    configure.in: fix RUBY_{APPEND/PREPEND}_OPTION
    
    * configure.in (RUBY_APPEND_OPTION, RUBY_PREPEND_OPTION): expand
      the option to be appended/prepended when matching, as well as
      RUBY_APPEND_OPTIONS and  RUBY_PREPEND_OPTIONS.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56470)
+++ ChangeLog	(revision 56471)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Oct 22 10:27:01 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (RUBY_APPEND_OPTION, RUBY_PREPEND_OPTION): expand
+	  the option to be appended/prepended when matching, as well as
+	  RUBY_APPEND_OPTIONS and  RUBY_PREPEND_OPTIONS.
+
 Sat Oct 22 09:52:57 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* compile.c (setup_args): duplicate splatting array if more
Index: configure.in
===================================================================
--- configure.in	(revision 56470)
+++ configure.in	(revision 56471)
@@ -311,7 +311,7 @@ AS_IF([test -z "$target_alias" -a -n "$o https://github.com/ruby/ruby/blob/trunk/configure.in#L311
 AC_DEFUN([RUBY_APPEND_OPTION],
 	[# RUBY_APPEND_OPTION($1)
 	AS_CASE([" [$]{$1-} "],
-	[*' $2 '*], [], ['  '], [ $1="$2"], [ $1="[$]$1 $2"])])
+	[*" $2 "*], [], ['  '], [ $1="$2"], [ $1="[$]$1 $2"])])
 AC_DEFUN([RUBY_APPEND_OPTIONS],
 	[# RUBY_APPEND_OPTIONS($1)
 	for rb_opt in $2; do
@@ -321,7 +321,7 @@ AC_DEFUN([RUBY_APPEND_OPTIONS], https://github.com/ruby/ruby/blob/trunk/configure.in#L321
 AC_DEFUN([RUBY_PREPEND_OPTION],
 	[# RUBY_PREPEND_OPTION($1)
 	AS_CASE([" [$]{$1-} "],
-	[*' $2 '*], [], ['  '], [ $1="$2"], [ $1="$2 [$]$1"])])
+	[*" $2 "*], [], ['  '], [ $1="$2"], [ $1="$2 [$]$1"])])
 AC_DEFUN([RUBY_PREPEND_OPTIONS],
 	[# RUBY_PREPEND_OPTIONS($1)
 	unset rb_opts; for rb_opt in $2; do

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]