mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RUBY_DEFINE_IF): revert r33534 partially to get
rid of AS_ECHO which is not available in autoconf 2.61. [ruby-dev:44702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
723038b0ba
commit
c1de566071
2 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Oct 27 18:28:18 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_DEFINE_IF): revert r33534 partially to get
|
||||
rid of AS_ECHO which is not available in autoconf 2.61.
|
||||
[ruby-dev:44702]
|
||||
|
||||
Thu Oct 27 16:10:46 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* bignum.c (rb_big_divide): raise ZeroDivisionError if divisor is
|
||||
|
|
10
configure.in
10
configure.in
|
@ -797,9 +797,15 @@ if test "$rb_cv_va_args_macro" = yes; then
|
|||
fi
|
||||
|
||||
AC_DEFUN([RUBY_DEFINE_IF], [dnl
|
||||
m4_ifval([$1],[test "$1" && AS_ECHO("@%:@if $1") >> confdefs.h])
|
||||
m4_ifval([$1], [AS_LITERAL_IF([$1], [], [test "X$1" = X || ])cat <<EOH >> confdefs.h
|
||||
@%:@if $1
|
||||
EOH
|
||||
])dnl
|
||||
AC_DEFINE_UNQUOTED($2, $3)dnl
|
||||
m4_ifval([$1],[test "$1" && AS_ECHO("@%:@endif /* $1 */") >> confdefs.h])
|
||||
m4_ifval([$1], [AS_LITERAL_IF([$1], [], [test "X$1" = X || ])cat <<EOH >> confdefs.h
|
||||
@%:@endif /* $1 */
|
||||
EOH
|
||||
])dnl
|
||||
])dnl
|
||||
|
||||
dnl RUBY_FUNC_ATTRIBUTE(attrib, macroname, cachevar, condition)
|
||||
|
|
Loading…
Reference in a new issue