Skip to content

Commit 00b3b22

Browse files
committed
Merge branch 'PHP-8.4'
2 parents e7f15a0 + a5c7f45 commit 00b3b22

File tree

12 files changed

+127
-127
lines changed

12 files changed

+127
-127
lines changed

cmake/Zend/CMakeLists.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -397,20 +397,20 @@ install(
397397
check_include_files(cpuid.h HAVE_CPUID_H)
398398
check_include_files(libproc.h HAVE_LIBPROC_H)
399399

400-
check_symbol_exists(clock_gettime_nsec_np "time.h" HAVE_CLOCK_GETTIME_NSEC_NP)
401-
check_symbol_exists(getpid "unistd.h" HAVE_GETPID)
400+
check_symbol_exists(clock_gettime_nsec_np time.h HAVE_CLOCK_GETTIME_NSEC_NP)
401+
check_symbol_exists(getpid unistd.h HAVE_GETPID)
402402

403403
cmake_push_check_state(RESET)
404404
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
405-
check_symbol_exists(gettid "unistd.h" HAVE_GETTID)
405+
check_symbol_exists(gettid unistd.h HAVE_GETTID)
406406
cmake_pop_check_state()
407407

408-
check_symbol_exists(kill "signal.h" HAVE_KILL)
409-
check_symbol_exists(mempcpy "string.h" HAVE_MEMPCPY)
408+
check_symbol_exists(kill signal.h HAVE_KILL)
409+
check_symbol_exists(mempcpy string.h HAVE_MEMPCPY)
410410

411411
cmake_push_check_state(RESET)
412412
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
413-
check_symbol_exists(mremap "sys/mman.h" HAVE_MREMAP)
413+
check_symbol_exists(mremap sys/mman.h HAVE_MREMAP)
414414
cmake_pop_check_state()
415415

416416
# BSD-based systems have pthread_attr_get_np in pthread_np.h.
@@ -432,28 +432,28 @@ endblock()
432432

433433
check_symbol_exists(
434434
pthread_attr_getstack
435-
"pthread.h"
435+
pthread.h
436436
HAVE_PTHREAD_ATTR_GETSTACK
437437
)
438438

439439
check_symbol_exists(
440440
pthread_get_stackaddr_np
441-
"pthread.h"
441+
pthread.h
442442
HAVE_PTHREAD_GET_STACKADDR_NP
443443
)
444444

445445
cmake_push_check_state(RESET)
446446
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
447-
check_symbol_exists(pthread_getattr_np "pthread.h" HAVE_PTHREAD_GETATTR_NP)
447+
check_symbol_exists(pthread_getattr_np pthread.h HAVE_PTHREAD_GETATTR_NP)
448448
cmake_pop_check_state()
449449

450-
check_symbol_exists(pthread_stackseg_np "pthread.h" HAVE_PTHREAD_STACKSEG_NP)
450+
check_symbol_exists(pthread_stackseg_np pthread.h HAVE_PTHREAD_STACKSEG_NP)
451451

452452
# Check for sigsetjmp(). It can be a function or defined as a macro. Note, that
453453
# POSIX.1-2001-compliant systems should have it. On Windows the setjmp() is
454454
# used instead.
455455
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
456-
check_symbol_exists(sigsetjmp "setjmp.h" _HAVE_SIGSETJMP)
456+
check_symbol_exists(sigsetjmp setjmp.h _HAVE_SIGSETJMP)
457457
if(NOT _HAVE_SIGSETJMP)
458458
message(
459459
FATAL_ERROR
@@ -528,7 +528,7 @@ include(cmake/CheckStrerrorR.cmake)
528528
################################################################################
529529

530530
message(CHECK_START "Checking whether to enable Zend signal handling")
531-
check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION)
531+
check_symbol_exists(sigaction signal.h HAVE_SIGACTION)
532532
if(HAVE_SIGACTION AND ZEND_SIGNALS)
533533
message(CHECK_PASS "yes")
534534

cmake/cmake/ConfigureChecks.cmake

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ include(PHP/CheckAVX512)
254254
# Check functions.
255255
################################################################################
256256

257-
check_symbol_exists(alphasort "dirent.h" HAVE_ALPHASORT)
258-
check_symbol_exists(explicit_memset "string.h" HAVE_EXPLICIT_MEMSET)
259-
check_symbol_exists(fdatasync "unistd.h" HAVE_FDATASYNC)
257+
check_symbol_exists(alphasort dirent.h HAVE_ALPHASORT)
258+
check_symbol_exists(explicit_memset string.h HAVE_EXPLICIT_MEMSET)
259+
check_symbol_exists(fdatasync unistd.h HAVE_FDATASYNC)
260260
# The fdatasync declaration on macOS is missing in headers, yet is in C library.
261261
if(NOT HAVE_FDATASYNC)
262262
unset(HAVE_FDATASYNC CACHE)
@@ -275,9 +275,9 @@ block()
275275
check_symbol_exists(flock "${headers}" HAVE_FLOCK)
276276
endblock()
277277

278-
check_symbol_exists(ftok "sys/ipc.h" HAVE_FTOK)
279-
check_symbol_exists(funopen "stdio.h" HAVE_FUNOPEN)
280-
check_symbol_exists(getcwd "unistd.h" HAVE_GETCWD)
278+
check_symbol_exists(ftok sys/ipc.h HAVE_FTOK)
279+
check_symbol_exists(funopen stdio.h HAVE_FUNOPEN)
280+
check_symbol_exists(getcwd unistd.h HAVE_GETCWD)
281281

282282
block()
283283
set(headers stdlib.h)
@@ -295,41 +295,41 @@ block()
295295
check_symbol_exists(getloadavg "${headers}" HAVE_GETLOADAVG)
296296
endblock()
297297

298-
check_symbol_exists(getlogin "unistd.h" HAVE_GETLOGIN)
299-
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
300-
check_symbol_exists(gettimeofday "sys/time.h" HAVE_GETTIMEOFDAY)
301-
check_symbol_exists(getpwnam_r "pwd.h" HAVE_GETPWNAM_R)
302-
check_symbol_exists(getgrnam_r "grp.h" HAVE_GETGRNAM_R)
303-
check_symbol_exists(getpwuid_r "pwd.h" HAVE_GETPWUID_R)
304-
check_symbol_exists(getwd "unistd.h" HAVE_GETWD)
305-
check_symbol_exists(glob "glob.h" HAVE_GLOB)
306-
check_symbol_exists(issetugid "unistd.h" HAVE_ISSETUGID)
307-
check_symbol_exists(lchown "unistd.h" HAVE_LCHOWN)
308-
check_symbol_exists(memcntl "sys/mman.h" HAVE_MEMCNTL)
298+
check_symbol_exists(getlogin unistd.h HAVE_GETLOGIN)
299+
check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
300+
check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY)
301+
check_symbol_exists(getpwnam_r pwd.h HAVE_GETPWNAM_R)
302+
check_symbol_exists(getgrnam_r grp.h HAVE_GETGRNAM_R)
303+
check_symbol_exists(getpwuid_r pwd.h HAVE_GETPWUID_R)
304+
check_symbol_exists(getwd unistd.h HAVE_GETWD)
305+
check_symbol_exists(glob glob.h HAVE_GLOB)
306+
check_symbol_exists(issetugid unistd.h HAVE_ISSETUGID)
307+
check_symbol_exists(lchown unistd.h HAVE_LCHOWN)
308+
check_symbol_exists(memcntl sys/mman.h HAVE_MEMCNTL)
309309

310310
cmake_push_check_state(RESET)
311311
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
312-
check_symbol_exists(memfd_create "sys/mman.h" HAVE_MEMFD_CREATE)
312+
check_symbol_exists(memfd_create sys/mman.h HAVE_MEMFD_CREATE)
313313
cmake_pop_check_state()
314314

315-
check_symbol_exists(mkstemp "stdlib.h" HAVE_MKSTEMP)
316-
check_symbol_exists(mmap "sys/mman.h" HAVE_MMAP)
317-
check_symbol_exists(nice "unistd.h" HAVE_NICE)
318-
check_symbol_exists(nl_langinfo "langinfo.h" HAVE_NL_LANGINFO)
319-
check_symbol_exists(prctl "sys/prctl.h" HAVE_PRCTL)
320-
check_symbol_exists(procctl "sys/procctl.h" HAVE_PROCCTL)
321-
check_symbol_exists(poll "poll.h" HAVE_POLL)
315+
check_symbol_exists(mkstemp stdlib.h HAVE_MKSTEMP)
316+
check_symbol_exists(mmap sys/mman.h HAVE_MMAP)
317+
check_symbol_exists(nice unistd.h HAVE_NICE)
318+
check_symbol_exists(nl_langinfo langinfo.h HAVE_NL_LANGINFO)
319+
check_symbol_exists(prctl sys/prctl.h HAVE_PRCTL)
320+
check_symbol_exists(procctl sys/procctl.h HAVE_PROCCTL)
321+
check_symbol_exists(poll poll.h HAVE_POLL)
322322
check_symbol_exists(
323323
pthread_jit_write_protect_np
324-
"pthread.h"
324+
pthread.h
325325
HAVE_PTHREAD_JIT_WRITE_PROTECT_NP
326326
)
327-
check_symbol_exists(putenv "stdlib.h" HAVE_PUTENV)
328-
check_symbol_exists(reallocarray "stdlib.h" HAVE_REALLOCARRAY)
329-
check_symbol_exists(scandir "dirent.h" HAVE_SCANDIR)
330-
check_symbol_exists(setitimer "sys/time.h" HAVE_SETITIMER)
331-
check_symbol_exists(setenv "stdlib.h" HAVE_SETENV)
332-
check_symbol_exists(sigprocmask "signal.h" HAVE_SIGPROCMASK)
327+
check_symbol_exists(putenv stdlib.h HAVE_PUTENV)
328+
check_symbol_exists(reallocarray stdlib.h HAVE_REALLOCARRAY)
329+
check_symbol_exists(scandir dirent.h HAVE_SCANDIR)
330+
check_symbol_exists(setitimer sys/time.h HAVE_SETITIMER)
331+
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
332+
check_symbol_exists(sigprocmask signal.h HAVE_SIGPROCMASK)
333333

334334
# Check for statfs().
335335
block()
@@ -347,39 +347,39 @@ block()
347347
check_symbol_exists(statfs "${headers}" HAVE_STATFS)
348348
endblock()
349349

350-
check_symbol_exists(statvfs "sys/statvfs.h" HAVE_STATVFS)
351-
check_symbol_exists(std_syslog "sys/syslog.h" HAVE_STD_SYSLOG)
352-
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
353-
check_symbol_exists(strnlen "string.h" HAVE_STRNLEN)
354-
check_symbol_exists(symlink "unistd.h" HAVE_SYMLINK)
355-
check_symbol_exists(tzset "time.h" HAVE_TZSET)
356-
check_symbol_exists(unsetenv "stdlib.h" HAVE_UNSETENV)
357-
check_symbol_exists(usleep "unistd.h" HAVE_USLEEP)
358-
check_symbol_exists(utime "utime.h" HAVE_UTIME)
350+
check_symbol_exists(statvfs sys/statvfs.h HAVE_STATVFS)
351+
check_symbol_exists(std_syslog sys/syslog.h HAVE_STD_SYSLOG)
352+
check_symbol_exists(strcasecmp strings.h HAVE_STRCASECMP)
353+
check_symbol_exists(strnlen string.h HAVE_STRNLEN)
354+
check_symbol_exists(symlink unistd.h HAVE_SYMLINK)
355+
check_symbol_exists(tzset time.h HAVE_TZSET)
356+
check_symbol_exists(unsetenv stdlib.h HAVE_UNSETENV)
357+
check_symbol_exists(usleep unistd.h HAVE_USLEEP)
358+
check_symbol_exists(utime utime.h HAVE_UTIME)
359359

360360
cmake_push_check_state(RESET)
361361
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
362-
check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF)
362+
check_symbol_exists(vasprintf stdio.h HAVE_VASPRINTF)
363363
cmake_pop_check_state()
364364

365365
cmake_push_check_state(RESET)
366366
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
367-
check_symbol_exists(asprintf "stdio.h" HAVE_ASPRINTF)
367+
check_symbol_exists(asprintf stdio.h HAVE_ASPRINTF)
368368
cmake_pop_check_state()
369369

370370
cmake_push_check_state(RESET)
371371
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
372-
check_symbol_exists(memmem "string.h" HAVE_MEMMEM)
372+
check_symbol_exists(memmem string.h HAVE_MEMMEM)
373373
cmake_pop_check_state()
374374

375375
cmake_push_check_state(RESET)
376376
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
377-
check_symbol_exists(memrchr "string.h" HAVE_MEMRCHR)
377+
check_symbol_exists(memrchr string.h HAVE_MEMRCHR)
378378
cmake_pop_check_state()
379379

380-
check_symbol_exists(strlcat "string.h" HAVE_STRLCAT)
381-
check_symbol_exists(strlcpy "string.h" HAVE_STRLCPY)
382-
check_symbol_exists(explicit_bzero "string.h" HAVE_EXPLICIT_BZERO)
380+
check_symbol_exists(strlcat string.h HAVE_STRLCAT)
381+
check_symbol_exists(strlcpy string.h HAVE_STRLCPY)
382+
check_symbol_exists(explicit_bzero string.h HAVE_EXPLICIT_BZERO)
383383

384384
# Check reentrant functions.
385385
include(PHP/CheckReentrantFunctions)
@@ -446,12 +446,12 @@ include(PHP/CheckFlushIo)
446446

447447
if(HAVE_ALLOCA_H)
448448
# Most *.nix systems.
449-
check_symbol_exists(alloca "alloca.h" HAVE_ALLOCA)
449+
check_symbol_exists(alloca alloca.h HAVE_ALLOCA)
450450
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
451-
check_symbol_exists(alloca "malloc.h" HAVE_ALLOCA)
451+
check_symbol_exists(alloca malloc.h HAVE_ALLOCA)
452452
else()
453453
# BSD-based systems.
454-
check_symbol_exists(alloca "stdlib.h" HAVE_ALLOCA)
454+
check_symbol_exists(alloca stdlib.h HAVE_ALLOCA)
455455
endif()
456456

457457
message(CHECK_START "Checking whether the compiler supports __alignof__")

cmake/ext/fileinfo/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ include(PHP/CheckSysMacros)
9292
# The strcasestr is missing on Windows and Solaris <= 10 (Solaris 11 has it).
9393
cmake_push_check_state(RESET)
9494
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
95-
check_symbol_exists(strcasestr "string.h" HAVE_STRCASESTR)
95+
check_symbol_exists(strcasestr string.h HAVE_STRCASESTR)
9696
cmake_pop_check_state()
9797
if(NOT HAVE_STRCASESTR)
9898
message(STATUS "Using libmagic strcasestr implementation")
9999
target_sources(php_ext_fileinfo PRIVATE libmagic/strcasestr.c)
100100
endif()
101101

102-
check_symbol_exists(strndup "string.h" HAVE_STRNDUP)
103-
check_symbol_exists(utimes "sys/time.h" HAVE_UTIMES)
102+
check_symbol_exists(strndup string.h HAVE_STRNDUP)
103+
check_symbol_exists(utimes sys/time.h HAVE_UTIMES)
104104

105105
php_check_function_attribute(visibility HAVE_FUNC_ATTRIBUTE_VISIBILITY)
106106

cmake/ext/opcache/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ add_feature_info(
330330
check_symbol_exists(mprotect sys/mman.h HAVE_MPROTECT)
331331

332332
# For FreeBSD.
333-
check_symbol_exists(shm_create_largepage "sys/mman.h" HAVE_SHM_CREATE_LARGEPAGE)
333+
check_symbol_exists(shm_create_largepage sys/mman.h HAVE_SHM_CREATE_LARGEPAGE)
334334

335335
# Check for shared memory support.
336336
include(cmake/CheckSHM.cmake)

cmake/ext/openssl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ if(TARGET OpenSSL::SSL)
211211
set(CMAKE_REQUIRED_LIBRARIES OpenSSL::SSL)
212212
check_symbol_exists(
213213
OSSL_set_max_threads
214-
"openssl/thread.h"
214+
openssl/thread.h
215215
HAVE_OPENSSL_ARGON2
216216
)
217217
cmake_pop_check_state()

cmake/ext/pcntl/CMakeLists.txt

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ target_compile_definitions(php_ext_pcntl PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE
8787

8888
# Check for required functions.
8989
block()
90-
check_symbol_exists(fork "unistd.h" HAVE_FORK)
91-
check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION)
92-
check_symbol_exists(waitpid "sys/wait.h" HAVE_WAITPID)
90+
check_symbol_exists(fork unistd.h HAVE_FORK)
91+
check_symbol_exists(sigaction signal.h HAVE_SIGACTION)
92+
check_symbol_exists(waitpid sys/wait.h HAVE_WAITPID)
9393

9494
foreach(function fork sigaction waitpid)
9595
string(TOUPPER ${function} const)
@@ -102,36 +102,36 @@ block()
102102
endforeach()
103103
endblock()
104104

105-
check_symbol_exists(forkx "sys/fork.h" HAVE_FORKX)
106-
check_symbol_exists(getcpuid "sys/processor.h" HAVE_GETCPUID)
107-
check_symbol_exists(getpriority "sys/resource.h" HAVE_GETPRIORITY)
108-
check_symbol_exists(pset_bind "sys/pset.h" HAVE_PSET_BIND)
105+
check_symbol_exists(forkx sys/fork.h HAVE_FORKX)
106+
check_symbol_exists(getcpuid sys/processor.h HAVE_GETCPUID)
107+
check_symbol_exists(getpriority sys/resource.h HAVE_GETPRIORITY)
108+
check_symbol_exists(pset_bind sys/pset.h HAVE_PSET_BIND)
109109
check_symbol_exists(
110110
pthread_set_qos_class_self_np
111-
"pthread/qos.h"
111+
pthread/qos.h
112112
HAVE_PTHREAD_SET_QOS_CLASS_SELF_NP
113113
)
114-
check_symbol_exists(rfork "unistd.h" HAVE_RFORK)
114+
check_symbol_exists(rfork unistd.h HAVE_RFORK)
115115
cmake_push_check_state(RESET)
116116
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
117-
check_symbol_exists(sched_setaffinity "sched.h" HAVE_SCHED_SETAFFINITY)
117+
check_symbol_exists(sched_setaffinity sched.h HAVE_SCHED_SETAFFINITY)
118118
cmake_pop_check_state()
119-
check_symbol_exists(setpriority "sys/resource.h" HAVE_SETPRIORITY)
120-
check_symbol_exists(sigtimedwait "signal.h" HAVE_SIGTIMEDWAIT)
121-
check_symbol_exists(sigwaitinfo "signal.h" HAVE_SIGWAITINFO)
122-
check_symbol_exists(SYS_pidfd_open "sys/syscall.h" HAVE_PIDFD_OPEN)
119+
check_symbol_exists(setpriority sys/resource.h HAVE_SETPRIORITY)
120+
check_symbol_exists(sigtimedwait signal.h HAVE_SIGTIMEDWAIT)
121+
check_symbol_exists(sigwaitinfo signal.h HAVE_SIGWAITINFO)
122+
check_symbol_exists(SYS_pidfd_open sys/syscall.h HAVE_PIDFD_OPEN)
123123
cmake_push_check_state(RESET)
124124
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
125-
check_symbol_exists(unshare "sched.h" HAVE_UNSHARE)
125+
check_symbol_exists(unshare sched.h HAVE_UNSHARE)
126126
cmake_pop_check_state()
127-
check_symbol_exists(wait3 "sys/wait.h" HAVE_WAIT3)
128-
check_symbol_exists(wait4 "sys/wait.h" HAVE_WAIT4)
129-
check_symbol_exists(waitid "sys/wait.h" HAVE_WAITID)
130-
check_symbol_exists(WCONTINUED "sys/wait.h" HAVE_DECL_WCONTINUED)
131-
check_symbol_exists(WEXITED "sys/wait.h" HAVE_DECL_WEXITED)
132-
check_symbol_exists(WIFCONTINUED "sys/wait.h" HAVE_WIFCONTINUED)
133-
check_symbol_exists(WNOWAIT "sys/wait.h" HAVE_DECL_WNOWAIT)
134-
check_symbol_exists(WSTOPPED "sys/wait.h" HAVE_DECL_WSTOPPED)
127+
check_symbol_exists(wait3 sys/wait.h HAVE_WAIT3)
128+
check_symbol_exists(wait4 sys/wait.h HAVE_WAIT4)
129+
check_symbol_exists(waitid sys/wait.h HAVE_WAITID)
130+
check_symbol_exists(WCONTINUED sys/wait.h HAVE_DECL_WCONTINUED)
131+
check_symbol_exists(WEXITED sys/wait.h HAVE_DECL_WEXITED)
132+
check_symbol_exists(WIFCONTINUED sys/wait.h HAVE_WIFCONTINUED)
133+
check_symbol_exists(WNOWAIT sys/wait.h HAVE_DECL_WNOWAIT)
134+
check_symbol_exists(WSTOPPED sys/wait.h HAVE_DECL_WSTOPPED)
135135

136136
cmake_push_check_state(RESET)
137137
# Some of these enum values require _GNU_SOURCE.

cmake/ext/pdo_pgsql/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if(TARGET PostgreSQL::PostgreSQL)
8787
set(CMAKE_REQUIRED_LIBRARIES PostgreSQL::PostgreSQL)
8888

8989
# PostgreSQL library minimum version sanity check.
90-
check_symbol_exists(PQencryptPasswordConn "libpq-fe.h" _PHP_LIBPQ_CHECK)
90+
check_symbol_exists(PQencryptPasswordConn libpq-fe.h _PHP_LIBPQ_CHECK)
9191
if(NOT _PHP_LIBPQ_CHECK)
9292
message(
9393
FATAL_ERROR
@@ -100,7 +100,7 @@ if(TARGET PostgreSQL::PostgreSQL)
100100
if(PostgreSQL_VERSION_STRING VERSION_GREATER_EQUAL 12)
101101
check_symbol_exists(
102102
PQresultMemorySize
103-
"libpq-fe.h"
103+
libpq-fe.h
104104
HAVE_PG_RESULT_MEMORY_SIZE
105105
)
106106
endif()
@@ -110,12 +110,12 @@ if(TARGET PostgreSQL::PostgreSQL)
110110
# Indicates the presence of PQclosePrepared, PQclosePortal, etc.
111111
check_symbol_exists(
112112
LIBPQ_HAS_CLOSE_PREPARED
113-
"libpq-fe.h"
113+
libpq-fe.h
114114
_PHP_HAVE_LIBPQ_HAS_CLOSE_PREPARED
115115
)
116116
check_symbol_exists(
117117
PQclosePrepared
118-
"libpq-fe.h"
118+
libpq-fe.h
119119
_PHP_HAVE_PQCLOSEPREPARED
120120
)
121121
if(_PHP_HAVE_LIBPQ_HAS_CLOSE_PREPARED AND _PHP_HAVE_PQCLOSEPREPARED)

0 commit comments

Comments
 (0)