From 804151d199e96a940a2aec93e757be2322624fc2 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 20 Dec 2013 07:00:08 +0000 Subject: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index c2b50af49d..f5b1977c06 100644 --- a/configure.in +++ b/configure.in @@ -266,24 +266,26 @@ AS_IF([test -z "$target_alias" -a -n "$os_version_style_transform"], ]) 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], -- cgit v1.2.3