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

ruby-changes:32217

From: nobu <ko1@a...>
Date: Fri, 20 Dec 2013 16:00:14 +0900 (JST)
Subject: [ruby-changes:32217] nobu:r44296 (trunk): configure.in: remove options from comments

nobu	2013-12-20 16:00:08 +0900 (Fri, 20 Dec 2013)

  New Revision: 44296

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44296

  Log:
    configure.in: remove options from comments
    
    * configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS),
      (RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): remove option
      lists, which can be multiple lines, from generated comments.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 44295)
+++ configure.in	(revision 44296)
@@ -266,24 +266,26 @@ AS_IF([test -z "$target_alias" -a -n "$o https://github.com/ruby/ruby/blob/trunk/configure.in#L266
 	])
 
 AC_DEFUN([RUBY_APPEND_OPTION],
-	[# RUBY_APPEND_OPTION($1, $2)
+	[# RUBY_APPEND_OPTION($1)
 	AS_CASE([" [$]{$1-} "],
 	[*' $2 '*], [], ['  '], [ $1="$2"], [ $1="[$]$1 $2"])])
 AC_DEFUN([RUBY_APPEND_OPTIONS],
-	[{ for rb_opt in $2; do # RUBY_APPEND_OPTIONS($1, $2)
+	[# RUBY_APPEND_OPTIONS($1)
+	for rb_opt in $2; do
 	AS_CASE([" [$]{$1-} "],
 	[*" [$]{rb_opt} "*], [], ['  '], [ $1="[$]{rb_opt}"], [ $1="[$]$1 [$]{rb_opt}"])
-	done; }])
+	done])
 AC_DEFUN([RUBY_PREPEND_OPTION],
-	[# RUBY_PREPEND_OPTION($1, $2)
+	[# RUBY_PREPEND_OPTION($1)
 	AS_CASE([" [$]{$1-} "],
 	[*' $2 '*], [], ['  '], [ $1="$2"], [ $1="$2 [$]$1"])])
 AC_DEFUN([RUBY_PREPEND_OPTIONS],
-	[{ unset rb_opts; for rb_opt in $2; do # RUBY_PREPEND_OPTIONS($1, $2)
+	[# RUBY_PREPEND_OPTIONS($1)
+	unset rb_opts; for rb_opt in $2; do
 	AS_CASE([" [$]{rb_opts} [$]{$1-} "],
 	[*" [$]{rb_opt} "*], [], ['  '], [ $1="[$]{rb_opt}"], [ rb_opts="[$]{rb_opts}[$]{rb_opt} "])
 	done
-	$1="[$]{rb_opts}[$]$1"; }])
+	$1="[$]{rb_opts}[$]$1"])
 
 AC_ARG_WITH(arch,
 	AS_HELP_STRING([--with-arch=ARCHS],

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

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