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

ruby-changes:35144

From: nobu <ko1@a...>
Date: Wed, 20 Aug 2014 17:27:18 +0900 (JST)
Subject: [ruby-changes:35144] nobu:r47226 (trunk): configure.in: quote defun names

nobu	2014-08-20 17:27:05 +0900 (Wed, 20 Aug 2014)

  New Revision: 47226

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

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 47225)
+++ configure.in	(revision 47226)
@@ -710,7 +710,7 @@ RUBY_WERROR_FLAG([ https://github.com/ruby/ruby/blob/trunk/configure.in#L710
     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, [ https://github.com/ruby/ruby/blob/trunk/configure.in#L722
     ])
 ])
 
-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 https://github.com/ruby/ruby/blob/trunk/configure.in#L2201
 	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_ https://github.com/ruby/ruby/blob/trunk/configure.in#L2228
 # 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; the https://github.com/ruby/ruby/blob/trunk/configure.in#L2519
   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"],
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47225)
+++ ChangeLog	(revision 47226)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Aug 20 17:27:02 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@r...>
 
 	* sprintf.c (rb_str_format): fix condition to round.

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

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