X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=m4%2Fc-stack.m4;h=5760dbeebcb7eb7fea38b901e03fe594c17edc61;hb=931b01b091932a1f796c23379ea32abb68bd5895;hp=d613fa8bd8c6305bd80ab6dd90522c5f186cd0a1;hpb=7be93f2d05131d061bd4790ae33c8d50f50010d7;p=platform%2Fupstream%2Fm4.git diff --git a/m4/c-stack.m4 b/m4/c-stack.m4 index d613fa8..5760dbe 100644 --- a/m4/c-stack.m4 +++ b/m4/c-stack.m4 @@ -1,17 +1,16 @@ # Check prerequisites for compiling lib/c-stack.c. -# Copyright (C) 2002-2004, 2008-2011 Free Software Foundation, Inc. +# Copyright (C) 2002-2004, 2008-2013 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Written by Paul Eggert. -# serial 12 +# serial 15 AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC], - [# for STACK_DIRECTION - AC_REQUIRE([AC_FUNC_ALLOCA]) + [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([setrlimit]) AC_CHECK_HEADERS_ONCE([ucontext.h]) @@ -24,7 +23,7 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC], FAULT_YIELDS_SIGBUS=1 ;; hpux*) # HP-UX FAULT_YIELDS_SIGBUS=1 ;; - macos* | darwin*) # MacOS X + macos* | darwin*) # Mac OS X FAULT_YIELDS_SIGBUS=1 ;; gnu*) # Hurd FAULT_YIELDS_SIGBUS=1 ;; @@ -339,7 +338,7 @@ AC_DEFUN([gl_PREREQ_C_STACK], AC_REQUIRE([AC_FUNC_ALLOCA]) AC_CHECK_FUNCS_ONCE([sigaltstack]) - AC_CHECK_DECLS([sigaltstack], , , [#include ]) + AC_CHECK_DECLS([sigaltstack], , , [[#include ]]) AC_CHECK_HEADERS_ONCE([unistd.h ucontext.h])