@@ -234,7 +234,7 @@ include(cmake/GenerateGrammar.cmake)
234234################################################################################
235235
236236if (PHP_EXT_STANDARD_ARGON2)
237- find_package (Argon2 20171227 )
237+ find_package (Argon2 20161029 )
238238 set_package_properties(
239239 Argon2
240240 PROPERTIES
@@ -319,9 +319,9 @@ endif()
319319# Check if there is a support means of creating a new process and defining which
320320# handles it receives.
321321message (CHECK_START "Checking if OS can spawn processes with inherited handles" )
322- check_symbol_exists(fork " unistd.h" HAVE_FORK)
322+ check_symbol_exists(fork unistd.h HAVE_FORK)
323323if (NOT HAVE_FORK)
324- check_symbol_exists(CreateProcess " windows.h" HAVE_CREATEPROCESS)
324+ check_symbol_exists(CreateProcess windows.h HAVE_CREATEPROCESS)
325325endif ()
326326if (HAVE_FORK OR HAVE_CREATEPROCESS)
327327 set (PHP_CAN_SUPPORT_PROC_OPEN TRUE )
@@ -338,12 +338,12 @@ php_search_libraries(
338338 LIBRARIES
339339 socket # Solaris 11..11.3, illumos
340340 network # Haiku
341- VARIABLE _HAVE_GETIFADDRS
341+ VARIABLE _PHP_HAVE_GETIFADDRS
342342 LIBRARY_VARIABLE libraryForGetifaddrs
343343 TARGET php_ext_standard PRIVATE
344344)
345345
346- if (_HAVE_GETIFADDRS )
346+ if (_PHP_HAVE_GETIFADDRS )
347347 message (CHECK_START "Checking for usable getifaddrs" )
348348 cmake_push_check_state(RESET)
349349 if (libraryForGetifaddrs)
@@ -465,7 +465,7 @@ php_search_libraries(
465465
466466check_symbol_exists(
467467 posix_spawn_file_actions_addchdir_np
468- " spawn.h"
468+ spawn.h
469469 HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP
470470)
471471
@@ -520,7 +520,7 @@ endblock()
520520# See: https://github.com/php/php-src/issues/11984
521521################################################################################
522522
523- check_symbol_exists(chroot " unistd.h" HAVE_CHROOT)
523+ check_symbol_exists(chroot unistd.h HAVE_CHROOT)
524524
525525add_library (php_ext_standard_functions OBJECT)
526526add_library (php_ext_standard_functions_cli OBJECT)
0 commit comments