diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-20 08:27:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-20 08:27:05 +0000 |
commit | 86c72d1a9ca336a2bfb74cd310e7dda8f8b8d470 (patch) | |
tree | 5dabdf95428c1d325cf27f00a3620c068c97186f | |
parent | 8e274670ec4b4704bb23f42860ed539ec3c990c3 (diff) | |
download | ruby-86c72d1a9ca336a2bfb74cd310e7dda8f8b8d470.tar.gz |
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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 10 |
2 files changed, 12 insertions, 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. diff --git a/configure.in b/configure.in index 530639f866..19b2522648 100644 --- a/configure.in +++ b/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"], |