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

ruby-changes:38473

From: nobu <ko1@a...>
Date: Wed, 20 May 2015 13:13:26 +0900 (JST)
Subject: [ruby-changes:38473] nobu:r50554 (trunk): configure.in: pop macro

nobu	2015-05-20 13:13:05 +0900 (Wed, 20 May 2015)

  New Revision: 50554

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

  Log:
    configure.in: pop macro
    
    * configure.in (RUBY_FUNC_ATTRIBUTE): pop definition of macro
      `attrib_code`.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 50553)
+++ configure.in	(revision 50554)
@@ -1618,7 +1618,7 @@ m4_ifval([$3], dnl https://github.com/ruby/ruby/blob/trunk/configure.in#L1618
   [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 https://github.com/ruby/ruby/blob/trunk/configure.in#L1643
     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
 ])

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

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