aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-20 04:16:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-20 04:16:46 +0000
commit408885c891cd7a9da7f5d31b0e120d9ee3d3e07b (patch)
treeeefdc38b0ce291665fbeaa8e1dfc9bbe3390c2f3 /configure.in
parent814b83918e1628d0293b72a20d7147d07a17d1f1 (diff)
downloadruby-408885c891cd7a9da7f5d31b0e120d9ee3d3e07b.tar.gz
configure.in: DEPRECATED_BY
* configure.in (DEPRECATED_BY): deprecate warning with preferable alternative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 64201e4a86..a967f3a0b5 100644
--- a/configure.in
+++ b/configure.in
@@ -1653,6 +1653,7 @@ AS_VAR_POPDEF([rbcv])dnl
RUBY_FUNC_ATTRIBUTE(noreturn, NORETURN)
RUBY_FUNC_ATTRIBUTE(deprecated, DEPRECATED)
+RUBY_FUNC_ATTRIBUTE(deprecated("by "@%:@n), DEPRECATED_BY(n,x), rb_cv_func_deprecated_by)
RUBY_FUNC_ATTRIBUTE(noinline, NOINLINE)
if_i386=${universal_binary+[defined __i386__]}