mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: quote defun names
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS), (RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE), (RUBY_STACK_GROW_DIRECTION): quote defun names, for some versions of autoconf possibly. [ruby-core:64473] [Bug #10156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e274670ec
commit
86c72d1a9c
2 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
|||
Wed Aug 20 17:27:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
|
||||
(RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
|
||||
(RUBY_STACK_GROW_DIRECTION): quote defun names, for some
|
||||
versions of autoconf possibly. [ruby-core:64473] [Bug #10156]
|
||||
|
||||
Tue Aug 19 22:28:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* sprintf.c (rb_str_format): fix condition to round.
|
||||
|
|
10
configure.in
10
configure.in
|
@ -710,7 +710,7 @@ RUBY_WERROR_FLAG([
|
|||
cd .. && rm -fr tmp.$$.try_link
|
||||
])
|
||||
|
||||
AC_DEFUN(RUBY_TRY_CFLAGS, [
|
||||
AC_DEFUN([RUBY_TRY_CFLAGS], [
|
||||
AC_MSG_CHECKING([whether ]$1[ is accepted as CFLAGS])
|
||||
RUBY_WERROR_FLAG([
|
||||
CFLAGS="[$]CFLAGS $1"
|
||||
|
@ -722,7 +722,7 @@ AC_DEFUN(RUBY_TRY_CFLAGS, [
|
|||
])
|
||||
])
|
||||
|
||||
AC_DEFUN(RUBY_TRY_LDFLAGS, [
|
||||
AC_DEFUN([RUBY_TRY_LDFLAGS], [
|
||||
save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="[$]LDFLAGS $1"
|
||||
AC_MSG_CHECKING([whether $1 is accepted as LDFLAGS])
|
||||
|
@ -2201,7 +2201,7 @@ AC_CACHE_CHECK(for sigsetjmp as a macro or function, ac_cv_func_sigsetjmp,
|
|||
ac_cv_func_sigsetjmp=yes,
|
||||
ac_cv_func_sigsetjmp=no)])
|
||||
|
||||
AC_DEFUN(RUBY_CHECK_BUILTIN_SETJMP, [
|
||||
AC_DEFUN([RUBY_CHECK_BUILTIN_SETJMP], [
|
||||
if test x"${ac_cv_func___builtin_setjmp}" = xyes; then
|
||||
unset ac_cv_func___builtin_setjmp
|
||||
fi
|
||||
|
@ -2228,7 +2228,7 @@ AC_CACHE_CHECK(for __builtin_setjmp, ac_cv_func___builtin_setjmp,
|
|||
# we don't use _setjmp if _longjmp doesn't exist.
|
||||
test x$ac_cv_func__longjmp = xno && ac_cv_func__setjmp=no
|
||||
|
||||
AC_DEFUN(RUBY_SETJMP_TYPE, [
|
||||
AC_DEFUN([RUBY_SETJMP_TYPE], [
|
||||
RUBY_CHECK_BUILTIN_SETJMP
|
||||
AC_MSG_CHECKING(for setjmp type)
|
||||
setjmp_suffix=
|
||||
|
@ -2519,7 +2519,7 @@ if test "$ac_cv_func_sysconf" = yes; then
|
|||
RUBY_CHECK_SYSCONF(CLK_TCK)
|
||||
fi
|
||||
|
||||
AC_DEFUN(RUBY_STACK_GROW_DIRECTION, [
|
||||
AC_DEFUN([RUBY_STACK_GROW_DIRECTION], [
|
||||
AS_VAR_PUSHDEF([stack_grow_dir], [rb_cv_stack_grow_dir_$1])
|
||||
AC_CACHE_CHECK(stack growing direction on $1, stack_grow_dir, [
|
||||
AS_CASE(["$1"],
|
||||
|
|
Loading…
Add table
Reference in a new issue