mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: pop macro
* configure.in (RUBY_FUNC_ATTRIBUTE): pop definition of macro `attrib_code`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dd9265ecf3
commit
50732b7b6e
1 changed files with 2 additions and 1 deletions
|
@ -1618,7 +1618,7 @@ m4_ifval([$3], dnl
|
|||
[AS_VAR_PUSHDEF([rbcv],[$3])], dnl
|
||||
[AS_VAR_PUSHDEF([rbcv],[rb_cv_func_][$1])]dnl
|
||||
)dnl
|
||||
m4_pushdef([attrib_code],[m4_bpatsubst([$1],["],[\\"])])
|
||||
m4_pushdef([attrib_code],[m4_bpatsubst([$1],["],[\\"])])dnl
|
||||
m4_ifval([$4], [rbcv_cond=["$4"]; test "$rbcv_cond" || unset rbcv_cond])
|
||||
AC_CACHE_CHECK(for m4_ifval([$2],[$2],[$1]) function attribute, rbcv,
|
||||
[rbcv=x
|
||||
|
@ -1643,6 +1643,7 @@ if test "$rbcv" != x; then
|
|||
RUBY_DEFINE_IF(m4_ifval([$4],[${rbcv_cond}]), attrib[(x)], $rbcv)
|
||||
fi
|
||||
m4_ifval([$4], [unset rbcv_cond]) dnl
|
||||
m4_popdef([attrib_code])dnl
|
||||
AS_VAR_POPDEF([attrib])dnl
|
||||
AS_VAR_POPDEF([rbcv])dnl
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue