Skip to content

Commit 5faecc8

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents 2767689 + 188053c commit 5faecc8

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

cmake/cmake/modules/FindACL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function(_acl_check result)
6363
endif()
6464

6565
if(NOT ACL_USE_USER_GROUP)
66-
check_symbol_exists(acl_free "sys/acl.h" _acl_successful)
66+
check_symbol_exists(acl_free sys/acl.h _acl_successful)
6767
else()
6868
check_source_compiles(C [[
6969
#include <sys/acl.h>

cmake/cmake/modules/FindCrypt.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ endif()
7878
if(NOT DEFINED Crypt_IS_BUILT_IN)
7979
cmake_push_check_state(RESET)
8080
set(CMAKE_REQUIRED_QUIET TRUE)
81-
check_symbol_exists(crypt "unistd.h" Crypt_IS_BUILT_IN)
81+
check_symbol_exists(crypt unistd.h Crypt_IS_BUILT_IN)
8282
cmake_pop_check_state()
8383
endif()
8484

@@ -122,7 +122,7 @@ else()
122122
set(CMAKE_REQUIRED_INCLUDES ${Crypt_INCLUDE_DIR})
123123
set(CMAKE_REQUIRED_LIBRARIES ${Crypt_LIBRARY})
124124
set(CMAKE_REQUIRED_QUIET TRUE)
125-
check_symbol_exists(crypt "unistd.h" _Crypt_SANITY_CHECK)
125+
check_symbol_exists(crypt unistd.h _Crypt_SANITY_CHECK)
126126
cmake_pop_check_state()
127127

128128
mark_as_advanced(Crypt_INCLUDE_DIR Crypt_LIBRARY)

cmake/cmake/modules/FindNdbm.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ endif()
5858
if(NOT DEFINED Ndbm_IS_BUILT_IN)
5959
cmake_push_check_state(RESET)
6060
set(CMAKE_REQUIRED_QUIET TRUE)
61-
check_symbol_exists(dbm_open "ndbm.h" Ndbm_IS_BUILT_IN)
61+
check_symbol_exists(dbm_open ndbm.h Ndbm_IS_BUILT_IN)
6262
cmake_pop_check_state()
6363
endif()
6464

cmake/cmake/modules/PHP/CheckFopencookie.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ include(CMakePushCheckState)
3737

3838
cmake_push_check_state(RESET)
3939
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
40-
check_symbol_exists(fopencookie "stdio.h" _HAVE_FOPENCOOKIE)
40+
check_symbol_exists(fopencookie stdio.h _HAVE_FOPENCOOKIE)
4141
cmake_pop_check_state()
4242

4343
if(NOT _HAVE_FOPENCOOKIE)

cmake/cmake/modules/PHP/CheckSysMacros.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ block()
9393
endif()
9494

9595
if(HAVE_SYS_MKDEV_H)
96-
check_symbol_exists(major "sys/mkdev.h" MAJOR_IN_MKDEV)
96+
check_symbol_exists(major sys/mkdev.h MAJOR_IN_MKDEV)
9797
list(APPEND headers "sys/mkdev.h")
9898
elseif(HAVE_SYS_SYSMACROS_H)
99-
check_symbol_exists(major "sys/sysmacros.h" MAJOR_IN_SYSMACROS)
99+
check_symbol_exists(major sys/sysmacros.h MAJOR_IN_SYSMACROS)
100100
list(APPEND headers "sys/sysmacros.h")
101101
endif()
102102

cmake/ext/iconv/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ if(TARGET Iconv::Iconv)
9494
# Sanity and library type checks.
9595
if(Iconv_IS_BUILT_IN)
9696
# When iconv is built into C library, first check if iconv function exists.
97-
check_symbol_exists(iconv "iconv.h" _HAVE_ICONV)
97+
check_symbol_exists(iconv iconv.h _HAVE_ICONV)
9898

9999
# And if not, then check for libiconv function.
100100
if(NOT _HAVE_ICONV)
101-
check_symbol_exists(libiconv "iconv.h" HAVE_LIBICONV)
101+
check_symbol_exists(libiconv iconv.h HAVE_LIBICONV)
102102
endif()
103103
else()
104104
check_library_exists(Iconv::Iconv libiconv "" HAVE_LIBICONV)
@@ -124,7 +124,7 @@ if(TARGET Iconv::Iconv)
124124
cmake_push_check_state(RESET)
125125
set(CMAKE_REQUIRED_LIBRARIES Iconv::Iconv)
126126
set(CMAKE_REQUIRED_QUIET TRUE)
127-
check_symbol_exists(_libiconv_version "iconv.h" _have_gnu_libiconv)
127+
check_symbol_exists(_libiconv_version iconv.h _have_gnu_libiconv)
128128
cmake_pop_check_state()
129129
if(_have_gnu_libiconv)
130130
message(CHECK_PASS "GNU libiconv")

cmake/ext/mbstring/libmbfl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ target_compile_definitions(
102102

103103
# The libmbfl configuration header.
104104
check_include_files(strings.h HAVE_STRINGS_H)
105-
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
105+
check_symbol_exists(strcasecmp strings.h HAVE_STRCASECMP)
106106

107107
cmake_path(
108108
RELATIVE_PATH

cmake/ext/opcache/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ add_feature_info(
327327
# Configuration checks.
328328
################################################################################
329329

330-
check_symbol_exists(mprotect "sys/mman.h" HAVE_MPROTECT)
330+
check_symbol_exists(mprotect sys/mman.h HAVE_MPROTECT)
331331

332332
# For FreeBSD.
333333
check_symbol_exists(shm_create_largepage "sys/mman.h" HAVE_SHM_CREATE_LARGEPAGE)

cmake/ext/openssl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ target_link_libraries(php_ext_openssl PUBLIC OpenSSL::SSL)
173173
if(TARGET OpenSSL::SSL)
174174
cmake_push_check_state(RESET)
175175
set(CMAKE_REQUIRED_LIBRARIES OpenSSL::SSL)
176-
check_symbol_exists(RAND_egd "openssl/rand.h" HAVE_RAND_EGD)
176+
check_symbol_exists(RAND_egd openssl/rand.h HAVE_RAND_EGD)
177177
cmake_pop_check_state()
178178

179179
if(OPENSSL_VERSION VERSION_LESS 3 AND PHP_EXT_OPENSSL_LEGACY_PROVIDER)

cmake/ext/random/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ target_sources(
5050

5151
target_compile_definitions(php_ext_random PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE)
5252

53-
check_symbol_exists(arc4random_buf "stdlib.h" HAVE_ARC4RANDOM_BUF)
54-
check_symbol_exists(getrandom "sys/random.h" HAVE_GETRANDOM)
53+
check_symbol_exists(arc4random_buf stdlib.h HAVE_ARC4RANDOM_BUF)
54+
check_symbol_exists(getrandom sys/random.h HAVE_GETRANDOM)
5555

5656
# Check for CCRandomGenerateBytes. Header was absent in previous macOS releases.
5757
block()

0 commit comments

Comments
 (0)