mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Limit stack size (#9104)
This commit is contained in:
parent
dc54e04ed4
commit
a11c8a3039
41 changed files with 1844 additions and 12 deletions
20
build/php.m4
20
build/php.m4
|
@ -2733,6 +2733,26 @@ AC_DEFUN([PHP_CHECK_BUILTIN_CPU_SUPPORTS], [
|
|||
[$have_builtin_cpu_supports], [Whether the compiler supports __builtin_cpu_supports])
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl PHP_CHECK_BUILTIN_FRAME_ADDRESS
|
||||
dnl
|
||||
AC_DEFUN([PHP_CHECK_BUILTIN_FRAME_ADDRESS], [
|
||||
AC_MSG_CHECKING([for __builtin_frame_address])
|
||||
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [[
|
||||
return __builtin_frame_address(0) != (void*)0;
|
||||
]])], [
|
||||
have_builtin_frame_address=1
|
||||
AC_MSG_RESULT([yes])
|
||||
], [
|
||||
have_builtin_frame_address=0
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
AC_DEFINE_UNQUOTED([PHP_HAVE_BUILTIN_FRAME_ADDRESS],
|
||||
[$have_builtin_frame_address], [Whether the compiler supports __builtin_frame_address])
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl PHP_PATCH_CONFIG_HEADERS([FILE])
|
||||
dnl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue