Skip to content

Commit 188053c

Browse files
committed
Sync CS
1 parent aa42490 commit 188053c

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
@@ -57,7 +57,7 @@ endif()
5757
if(NOT DEFINED Ndbm_IS_BUILT_IN)
5858
cmake_push_check_state(RESET)
5959
set(CMAKE_REQUIRED_QUIET TRUE)
60-
check_symbol_exists(dbm_open "ndbm.h" Ndbm_IS_BUILT_IN)
60+
check_symbol_exists(dbm_open ndbm.h Ndbm_IS_BUILT_IN)
6161
cmake_pop_check_state()
6262
endif()
6363

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
@@ -103,7 +103,7 @@ target_compile_definitions(
103103

104104
# The libmbfl configuration header.
105105
check_include_files(strings.h HAVE_STRINGS_H)
106-
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
106+
check_symbol_exists(strcasecmp strings.h HAVE_STRCASECMP)
107107

108108
cmake_path(
109109
RELATIVE_PATH

cmake/ext/opcache/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ add_feature_info(
292292
# Configuration checks.
293293
################################################################################
294294

295-
check_symbol_exists(mprotect "sys/mman.h" HAVE_MPROTECT)
295+
check_symbol_exists(mprotect sys/mman.h HAVE_MPROTECT)
296296

297297
# Check for shared memory support.
298298
include(cmake/CheckSHM.cmake)

cmake/ext/openssl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ endblock()
169169
if(TARGET OpenSSL::SSL)
170170
cmake_push_check_state(RESET)
171171
set(CMAKE_REQUIRED_LIBRARIES OpenSSL::SSL)
172-
check_symbol_exists(RAND_egd "openssl/rand.h" HAVE_RAND_EGD)
172+
check_symbol_exists(RAND_egd openssl/rand.h HAVE_RAND_EGD)
173173
cmake_pop_check_state()
174174

175175
if(PHP_EXT_OPENSSL_SYSTEM_CIPHERS)

cmake/ext/random/CMakeLists.txt

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

4949
target_compile_definitions(php_ext_random PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE)
5050

51-
check_symbol_exists(arc4random_buf "stdlib.h" HAVE_DECL_ARC4RANDOM_BUF)
52-
check_symbol_exists(getrandom "sys/random.h" HAVE_GETRANDOM)
51+
check_symbol_exists(arc4random_buf stdlib.h HAVE_DECL_ARC4RANDOM_BUF)
52+
check_symbol_exists(getrandom sys/random.h HAVE_GETRANDOM)
5353

5454
# Check for CCRandomGenerateBytes. Header was absent in previous macOS releases.
5555
block()

0 commit comments

Comments
 (0)