зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
f10068dc44
Коммит
804151d199
14
configure.in
14
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],
|
||||
|
|
Загрузка…
Ссылка в новой задаче