Skip to content

Commit 02c9b09

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents 11a4df3 + 82ebe22 commit 02c9b09

27 files changed

+32
-32
lines changed

cmake/Zend/CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -479,24 +479,27 @@ add_feature_info(
479479
)
480480

481481
# Check Zend max execution timers.
482-
include(Zend/MaxExecutionTimers)
482+
include(cmake/MaxExecutionTimers.cmake)
483483
if(TARGET Zend::MaxExecutionTimers)
484484
target_link_libraries(zend PRIVATE Zend::MaxExecutionTimers)
485485
endif()
486486

487487
# Check MM alignment.
488-
include(Zend/CheckMMAlignment)
488+
include(cmake/CheckMMAlignment.cmake)
489489

490490
# Check for global register variables.
491491
if(ZEND_GLOBAL_REGISTER_VARIABLES)
492-
include(Zend/CheckGlobalRegisterVariables)
492+
include(cmake/CheckGlobalRegisterVariables.cmake)
493493
endif()
494494

495495
# Check if stack grows downward.
496-
include(Zend/CheckStackLimit)
496+
include(cmake/CheckStackLimit.cmake)
497497

498498
# Check float precision.
499-
include(Zend/CheckFloatPrecision)
499+
include(cmake/CheckFloatPrecision.cmake)
500+
501+
# Check for strerror_r, and if its a POSIX-compatible or a GNU-specific version.
502+
include(cmake/CheckStrerrorR.cmake)
500503

501504
################################################################################
502505
# Generate lexers and parsers.
@@ -606,7 +609,7 @@ endif()
606609
# Configure fibers.
607610
################################################################################
608611

609-
include(Zend/Fibers)
612+
include(cmake/Fibers.cmake)
610613
if(TARGET Zend::Fibers)
611614
target_link_libraries(zend PRIVATE Zend::Fibers)
612615
endif()
File renamed without changes.

cmake/Zend/zend_config.cmake.h.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@
5959
/* Define to 1 if you have the 'sigaction' function. */
6060
#cmakedefine HAVE_SIGACTION 1
6161

62+
/* Define if you have 'strerror_r'. */
63+
#cmakedefine HAVE_STRERROR_R 1
64+
65+
/* Define to 1 if strerror_r returns char *. */
66+
#cmakedefine STRERROR_R_CHAR_P 1
67+
6268
/* Define to 1 if checking the stack limit is supported. */
6369
#cmakedefine ZEND_CHECK_STACK_LIMIT 1
6470

cmake/cmake/ConfigureChecks.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,6 @@ else()
416416
message(CHECK_FAIL "no")
417417
endif()
418418

419-
# Check for strerror_r, and if its a POSIX-compatible or a GNU-specific version.
420-
include(PHP/CheckStrerrorR)
421-
422419
# Check getaddrinfo().
423420
include(PHP/CheckGetaddrinfo)
424421
if(TARGET PHP::CheckGetaddrinfoLibrary)
@@ -469,6 +466,9 @@ if(PHP_IPV6)
469466
include(PHP/CheckIPv6)
470467
endif()
471468

469+
# Check how flush should be called.
470+
include(PHP/CheckFlushIo)
471+
472472
# Check for aarch64 CRC32 API.
473473
message(CHECK_START "Checking for aarch64 CRC32 API availability")
474474
cmake_push_check_state(RESET)

0 commit comments

Comments
 (0)